mmc: sdhci-acpi: Intel SDIO has broken card detect
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 3 Apr 2014 11:58:39 +0000 (14:58 +0300)
committerChris Ball <chris@printf.net>
Tue, 8 Apr 2014 01:27:14 +0000 (21:27 -0400)
Intel SDIO has broken card detect so add a quirk to reflect that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-acpi.c

index 0d372f02dc6ae670b256228531dafacd0defecb9..ebb3f392b5894f6af8705604a38476b4e0048aa3 100644 (file)
@@ -122,6 +122,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = {
 };
 
 static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = {
+       .quirks  = SDHCI_QUIRK_BROKEN_CARD_DETECTION,
        .quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON,
        .caps    = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD,
        .flags   = SDHCI_ACPI_RUNTIME_PM,