]> git.baikalelectronics.ru Git - kernel.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)
commit78447bf3bf4665fcc24f3da3604f20db0d14b18f
treea89e17edb1c1857b5c5c50a99162b57757a42413
parent8b74f4f4576ba4882ca9e92e5c3794c2476fd0af
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: 50e7a7d7df02 ("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