]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-acpi: Fix broken card detect for ACPI HID 80860F14
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 10 Mar 2014 13:02:42 +0000 (15:02 +0200)
committerChris Ball <chris@printf.net>
Mon, 17 Mar 2014 13:12:39 +0000 (09:12 -0400)
commit4fd4409c81e2c756a5cfbedc598c48d6a3ed3fd5
tree432f23975640efe5b925f9d3df1c556b22873eee
parent740a221ef0e579dc7c675cf6b90f5313509788f7
mmc: sdhci-acpi: Fix broken card detect for ACPI HID 80860F14

Some 80860F14 devices do not support card detect and must rely
completely on GPIO.  Presently the card detect GPIO is used
only to wake-up from runtime suspend.  Change to using
mmc_gpioid_request_cd() which will cause the SDHCI driver to
prefer the GPIO to the host controller's native card detect.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-acpi.c