OSDN Git Service

mmc: sdhci-msm: Fix SD card detection issue
authorSahitya Tummala <stummala@codeaurora.org>
Thu, 5 Feb 2015 08:35:27 +0000 (14:05 +0530)
committerSubhash Jadavani <subhashj@codeaurora.org>
Tue, 31 May 2016 22:27:02 +0000 (15:27 -0700)
commitee08ef262bc8be47ef76acb692aae09a804d7bf7
tree4fcc1cb4047421437056db6b6c38fcd1920e5e4e
parent8984d4abf606e738fc0d749159abfc5cfb75e89b
mmc: sdhci-msm: Fix SD card detection issue

The change in pull configs might not take into effect immediately
and any value read before it is stabilized will mark incorrect
card status. This causes SD card detection to fail when inserted
for the first time. Fix this by adding enough delay after
configuring the GPIO and before reading its value.

Change-Id: I3a8455ce404988ab5eb3ed04c0f90ab6edf76d86
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
drivers/mmc/host/sdhci-msm.c