diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-04-12 13:25:06 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-02 10:33:28 +0200 |
commit | 706e86e9de7cfd5220784f6329d92f65de883d71 (patch) | |
tree | 66cdeb9d19523738432fc81c62ed9af4f4f4ee25 /drivers/mmc/host/sdhci-acpi.c | |
parent | mmc: sdhci-pci: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers (diff) | |
download | linux-706e86e9de7cfd5220784f6329d92f65de883d71.tar.xz linux-706e86e9de7cfd5220784f6329d92f65de883d71.zip |
mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
Set MMC_CAP_AGGRESSIVE_PM for Broxton 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/host/sdhci-acpi.c')
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 2a0cda50ce45..b2d70ba6caa7 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c @@ -262,8 +262,10 @@ static int sdhci_acpi_sd_probe_slot(struct platform_device *pdev, /* Platform specific code during sd probe slot goes here */ - if (hid && !strcmp(hid, "80865ACA")) + if (hid && !strcmp(hid, "80865ACA")) { host->mmc_host_ops.get_cd = bxt_get_cd; + host->mmc->caps |= MMC_CAP_AGGRESSIVE_PM; + } return 0; } |