projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7758229
)
mmc: sdhci-pci: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
author
Adrian Hunter
<
[email protected]
>
Tue, 12 Apr 2016 11:25:05 +0000
(14:25 +0300)
committer
Ulf Hansson
<
[email protected]
>
Mon, 2 May 2016 08:33:27 +0000
(10:33 +0200)
Set MMC_CAP_AGGRESSIVE_PM for Broxton host controllers.
Signed-off-by: Adrian Hunter <
[email protected]
>
Signed-off-by: Ulf Hansson <
[email protected]
>
drivers/mmc/host/sdhci-pci-core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-pci-core.c
b/drivers/mmc/host/sdhci-pci-core.c
index e5c6a4917682786fd751e947e86db4428b5b354c..97d4eebd6bf59edbeb88f7efa5e6fec8bbab6aeb 100644
(file)
--- a/
drivers/mmc/host/sdhci-pci-core.c
+++ b/
drivers/mmc/host/sdhci-pci-core.c
@@
-386,8
+386,10
@@
static int byt_sd_probe_slot(struct sdhci_pci_slot *slot)
slot->cd_override_level = true;
if (slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_BXT_SD ||
slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_BXTM_SD ||
- slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_APL_SD)
+ slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_APL_SD)
{
slot->host->mmc_host_ops.get_cd = bxt_get_cd;
+ slot->host->mmc->caps |= MMC_CAP_AGGRESSIVE_PM;
+ }
return 0;
}