]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-of-at91: force card detect value for non removable devices
authorLudovic Desroches <ludovic.desroches@microchip.com>
Wed, 26 Jul 2017 14:02:46 +0000 (16:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 Aug 2017 08:50:55 +0000 (10:50 +0200)
commit7a1e3f143176e8ebdb2f5a9b3b47abc18b879d90
treea89e17edb1c1857b5c5c50a99162b57757a42413
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
mmc: sdhci-of-at91: force card detect value for non removable devices

When the device is non removable, the card detect signal is often used
for another purpose i.e. muxed to another SoC peripheral or used as a
GPIO. It could lead to wrong behaviors depending the default value of
this signal if not muxed to the SDHCI controller.

Fixes: bb5f8ea4d514 ("mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC")
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-at91.c