Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 706e86e9 authored by Adrian Hunter's avatar Adrian Hunter Committed by Ulf Hansson
Browse files

mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers



Set MMC_CAP_AGGRESSIVE_PM for Broxton host controllers.

Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent e8ef5176
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -262,8 +262,10 @@ static int sdhci_acpi_sd_probe_slot(struct platform_device *pdev,


	/* Platform specific code during sd probe slot goes here */
	/* 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_host_ops.get_cd = bxt_get_cd;
		host->mmc->caps |= MMC_CAP_AGGRESSIVE_PM;
	}


	return 0;
	return 0;
}
}