This patch-set is to fix up erratum A-008171 workaround. It had been verified on LS1046A eSDHC + Phison 32G eMMC which could trigger the erratum. --- Changes for v2: - Dropped sdhci start_tuning() hook patch. - Implemented SW tuning starting in eSDHC writew(). Changes for v3: - Converted to use esdhc_flush_async_fifo() and usleep_range(). - Added ACK of Adrian. Yangbo Lu (2): mmc: sdhci-of-esdhc: poll ESDHC_FLUSH_ASYNC_FIFO bit until completion mmc: sdhci-of-esdhc: fix up erratum A-008171 workaround drivers/mmc/host/sdhci-esdhc.h | 14 +++ drivers/mmc/host/sdhci-of-esdhc.c | 257 ++++++++++++++++++++++++++++++++------ 2 files changed, 231 insertions(+), 40 deletions(-) -- 2.7.4