mmc: sdhci-msm: Adding delay of 200us after deassert

After BCR reset while reconfiguring the SDHC registers
Interrupt Signal Enable Register does not reflect the value
and so it fails initialization of eMMC. As per design constraint
it requires 200us delay after BCR reset.

Change-Id: I99eca34e02a1b2557dca3b3da5a0cbeb32b7aff5
Signed-off-by: Maramaina Naresh <mnaresh@codeaurora.org>
This commit is contained in:
Maramaina Naresh 2021-07-12 19:04:44 +05:30 • committed by Gerrit - the friendly Code Review server
commit 943d21abf7

View file

@ -3524,6 +3524,7 @@ static void sdhci_msm_hw_reset(struct sdhci_host *host)
if (ret)
dev_err(&pdev->dev, "%s: core_reset deassert failed, err = %d\n",
__func__, ret);
usleep_range(200, 210);
sdhci_msm_registers_restore(host);
msm_host->reg_store = false;