mmc: sdhci-pci: support runtime PM for BYT SD cards
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 6 May 2013 09:17:34 +0000 (12:17 +0300)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:24 +0000 (14:23 -0400)
Add support for runtime PM for BYT SD cards.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pci.c

index 701d06d0e1fb2c63a174f0332da96a37850fd240..611331a39fe51dd799762db4cceaf108dd1bacc9 100644 (file)
@@ -332,6 +332,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,
+       .allow_runtime_pm = true,
 };
 
 /* O2Micro extra registers */