mmc: sdhci-msm: Remove NO_CARD_NO_RESET quirk
authorGeorgi Djakov <georgi.djakov@linaro.org>
Wed, 30 May 2018 14:43:35 +0000 (17:43 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 31 May 2018 09:45:00 +0000 (11:45 +0200)
commit4ba9bf98b8996b70d73381e700384ac75b82f745
tree6f9effa50a027a28d278c69d41cf995148b21270
parentaf6b8ff4bce4ea43e89236339f84fc0a26044c42
mmc: sdhci-msm: Remove NO_CARD_NO_RESET quirk

Now we have a proper implementation for the power irq handling and this
quirk is not needed anymore. In fact, it is causing card detection delays
on apq8096 platforms and the following error is displayed:
sdhci_msm 74a4900.sdhci: mmc0: pwr_irq for req: (4) timed out

The quirk is forcing the controller to retain 1.8V signalling on the slot
even when a new card is inserted, which is not correct. The proper behavior
would be to reset the controller in order to start with 3.3V signaling.

Fixes: c0309b3803fe ("mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq")
Suggested-by: Vijay Viswanath <vviswana@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c