OSDN Git Service

mmc: sdhci-msm: Fix issue with SD card detect GPIO
authorSahitya Tummala <stummala@codeaurora.org>
Thu, 5 Jun 2014 07:56:55 +0000 (13:26 +0530)
committerSubhash Jadavani <subhashj@codeaurora.org>
Fri, 27 May 2016 17:29:07 +0000 (10:29 -0700)
commit87baaf746779a0fd588511f9724715577c68e6a7
treea0395d8274618b6fba12b6f90ef97e7662e28ad6
parent28f9d7aa7bca7c18aa41149d82c7b7398e483b9c
mmc: sdhci-msm: Fix issue with SD card detect GPIO

Set up the card detect GPIO in active configuration before
configuring it as an IRQ. Otherwise, it can be in some
weird/inconsistent state resulting in flood of interrupts.

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