]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-at91: replace while loop with read_poll_timeout
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 24 Sep 2021 08:28:51 +0000 (11:28 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 6 Oct 2021 15:23:27 +0000 (17:23 +0200)
commite29f97a219c8eec65f7fdca5d791020cf0f35c0d
tree302d46f187907a9d7eade533e757f0caf4d19dc9
parent0f1d2acb8caa9b2ae0386d3a06740fc9a9fa34e1
mmc: sdhci-of-at91: replace while loop with read_poll_timeout

Replace while loop with read_poll_timeout().

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210924082851.2132068-3-claudiu.beznea@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-at91.c