diff options
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 83a152e9b976..7165e6a09274 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -248,6 +248,12 @@ static int mfd_emmc_probe_slot(struct sdhci_pci_slot *slot) | |||
248 | return 0; | 248 | return 0; |
249 | } | 249 | } |
250 | 250 | ||
251 | static int mfd_sdio_probe_slot(struct sdhci_pci_slot *slot) | ||
252 | { | ||
253 | slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD; | ||
254 | return 0; | ||
255 | } | ||
256 | |||
251 | static const struct sdhci_pci_fixes sdhci_intel_mrst_hc0 = { | 257 | static const struct sdhci_pci_fixes sdhci_intel_mrst_hc0 = { |
252 | .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT, | 258 | .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT, |
253 | .probe_slot = mrst_hc_probe_slot, | 259 | .probe_slot = mrst_hc_probe_slot, |
@@ -266,6 +272,7 @@ static const struct sdhci_pci_fixes sdhci_intel_mfd_sd = { | |||
266 | static const struct sdhci_pci_fixes sdhci_intel_mfd_sdio = { | 272 | static const struct sdhci_pci_fixes sdhci_intel_mfd_sdio = { |
267 | .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, | 273 | .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, |
268 | .allow_runtime_pm = true, | 274 | .allow_runtime_pm = true, |
275 | .probe_slot = mfd_sdio_probe_slot, | ||
269 | }; | 276 | }; |
270 | 277 | ||
271 | static const struct sdhci_pci_fixes sdhci_intel_mfd_emmc = { | 278 | static const struct sdhci_pci_fixes sdhci_intel_mfd_emmc = { |