aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-09-24 03:27:30 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-10-03 08:18:18 -0400
commite58e4a0d14a5b8b6ab2aa2942cb2440e45c1f8c9 (patch)
tree039b1996f3638aca3a399568ba386e715ec03869 /drivers/mmc
parent7147eaf3a4fe7e7dbb6e1f89e328ea0507e0c32c (diff)
mmc: sdhci-pci: Set SDHCI_QUIRK2_STOP_WITH_TC for Intel BYT host controllers
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-pci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 580073bc164c..31181d8dc561 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -283,7 +283,8 @@ static int byt_sdio_probe_slot(struct sdhci_pci_slot *slot)
283static const struct sdhci_pci_fixes sdhci_intel_byt_emmc = { 283static const struct sdhci_pci_fixes sdhci_intel_byt_emmc = {
284 .allow_runtime_pm = true, 284 .allow_runtime_pm = true,
285 .probe_slot = byt_emmc_probe_slot, 285 .probe_slot = byt_emmc_probe_slot,
286 .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, 286 .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
287 SDHCI_QUIRK2_STOP_WITH_TC,
287}; 288};
288 289
289static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = { 290static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = {
@@ -295,7 +296,8 @@ static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = {
295 296
296static const struct sdhci_pci_fixes sdhci_intel_byt_sd = { 297static const struct sdhci_pci_fixes sdhci_intel_byt_sd = {
297 .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON | 298 .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON |
298 SDHCI_QUIRK2_PRESET_VALUE_BROKEN, 299 SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
300 SDHCI_QUIRK2_STOP_WITH_TC,
299 .allow_runtime_pm = true, 301 .allow_runtime_pm = true,
300 .own_cd_for_runtime_pm = true, 302 .own_cd_for_runtime_pm = true,
301}; 303};