mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
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>
This commit is contained in:
committed by
Ulf Hansson
parent
e8ef517631
commit
706e86e9de
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user