]> git.baikalelectronics.ru Git - kernel.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)
commit729b3f946fab2e0ec2a0ba3b3cd817ec3254ce51
tree432f23975640efe5b925f9d3df1c556b22873eee
parent086df8168f646647bd1000be96fff253fd340ff4
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