spi: amd: Use iopoll for busy waiting
authorAndré Almeida <andrealmeid@collabora.com>
Fri, 11 Feb 2022 14:31:53 +0000 (11:31 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 14 Feb 2022 12:53:03 +0000 (12:53 +0000)
commit715bea3568e78b80b1d127d8452eac0e3cb6f299
tree86c841218fb25f7dd859c670123c176f6c8066ed
parent2cbfa2128662c6b841f68cd2fe54df199457e38a
spi: amd: Use iopoll for busy waiting

Instead of implementing a custom IO busy wait function, just use
readl_poll_timeout().

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Link: https://lore.kernel.org/r/20220211143155.75513-2-andrealmeid@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-amd.c