MLK-16363 mmc: sdhci: add 1ms delay after tuning complete
authorHaibo Chen <haibo.chen@nxp.com>
Mon, 4 Sep 2017 09:26:08 +0000 (17:26 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:28 +0000 (15:38 -0500)
commit2d3f928e39ae7e0e48b43a4ae308c0cf2f009869
treefd41e160581191f74f09f0eb31bd97fbcff28ca7
parente4efa37de48c5de0a55881f3551102aeaec9fe7b
MLK-16363 mmc: sdhci: add 1ms delay after tuning complete

When the last ready-buffer-ready is set, then usdhc execute-tuning
bit is clear, this means usdhc finish the tuning process, but at
this time, sd/mmc card may still out put the tuning data, can't
response to any command. So this patch add 1ms delay when usdhc
finish the tuning, make sure sd/mmc card finish sending the tuning
data, then sd/mmc can response the following command normally.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/mmc/host/sdhci.c