]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mmc: sdhci-pci: Set SDHCI_QUIRK2_STOP_WITH_TC for Intel BYT host controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 24 Sep 2014 07:27:30 +0000 (10:27 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 3 Oct 2014 12:18:18 +0000 (14:18 +0200)
Add quirk SDHCI_QUIRK2_STOP_WITH_TC for Intel BYT host controllers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci.c

index 580073bc164caa334f8c3676cb3ff6a481a7405a..31181d8dc5616a9c82a7e94610604438b79c1f7b 100644 (file)
@@ -283,7 +283,8 @@ static int byt_sdio_probe_slot(struct sdhci_pci_slot *slot)
 static const struct sdhci_pci_fixes sdhci_intel_byt_emmc = {
        .allow_runtime_pm = true,
        .probe_slot     = byt_emmc_probe_slot,
-       .quirks2        = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
+       .quirks2        = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
+                         SDHCI_QUIRK2_STOP_WITH_TC,
 };
 
 static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = {
@@ -295,7 +296,8 @@ static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = {
 
 static const struct sdhci_pci_fixes sdhci_intel_byt_sd = {
        .quirks2        = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON |
-                       SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
+                         SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
+                         SDHCI_QUIRK2_STOP_WITH_TC,
        .allow_runtime_pm = true,
        .own_cd_for_runtime_pm = true,
 };