]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci-msm: Do not reset the controller if no card in the slot
authorGeorgi Djakov <georgi.djakov@linaro.org>
Fri, 24 Jun 2016 16:24:59 +0000 (19:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:35:01 +0000 (10:35 +0200)
commit9718f84b85396e090ca42fafa730410d286d61e3
tree82c8e4b22f4a5f52f6fde2fba925620863346b9d
parent4f6aa3264af4d44caaa649dd3ff1fe98f5817251
mmc: sdhci-msm: Do not reset the controller if no card in the slot

The controller does not clear the "reset bit" when it is reset without
a card in the slot. Because of this, the following error message is seen
while booting with no plugged SD card.

mmc1: Reset 0x1 never completed.

Add the SDHCI_QUIRK_NO_CARD_NO_RESET quirk to avoid this.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Tested-by: Bjorn Andersson <bjorn.andersson@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