mmc: sdhci-of-esdhc: poll ESDHC_FLUSH_ASYNC_FIFO bit until completion
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 9 Oct 2019 07:41:39 +0000 (15:41 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Nov 2019 15:10:16 +0000 (16:10 +0100)
commit6e32f65c14f13c728c3491499d45ecf8bb83efd4
tree405974d2cddc0306d58a7e94574c5e27873ced88
parent727d836a375adc49f824a80a824a7e91ddac9d88
mmc: sdhci-of-esdhc: poll ESDHC_FLUSH_ASYNC_FIFO bit until completion

The ESDHC_FLUSH_ASYNC_FIFO bit which is set to flush asynchronous FIFO
should be polled until it's auto cleared by hardware.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c