From: Adrian Hunter Date: Thu, 3 Apr 2014 11:58:39 +0000 (+0300) Subject: mmc: sdhci-acpi: Intel SDIO has broken card detect X-Git-Tag: v3.12.38~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f55614e95472493acb155c99ffbb76319e3bbb6;p=thirdparty%2Fkernel%2Fstable.git mmc: sdhci-acpi: Intel SDIO has broken card detect commit c67480173f72e883235dd0ad09d90156c8f87600 upstream. Intel SDIO has broken card detect so add a quirk to reflect that. Signed-off-by: Adrian Hunter Acked-by: Ulf Hansson Signed-off-by: Chris Ball Signed-off-by: Jiri Slaby --- diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 548bf375c6ae3..e1c37e24323a4 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c @@ -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,