Skip to content

Commit 8857a95

Browse files
storulfgregkh
authored andcommitted
mmc: sdhci-omap: Disable MMC_CAP_AGGRESSIVE_PM for eMMC/SD
commit 49d162635151d0dd04935070d7cf67137ab863aa upstream. We have received reports about cards can become corrupt related to the aggressive PM support. Let's make a partial revert of the change that enabled the feature. Reported-by: David Owens <[email protected]> Reported-by: Romain Naour <[email protected]> Reported-by: Robert Nelson <[email protected]> Tested-by: Robert Nelson <[email protected]> Fixes: 3edf588 ("mmc: sdhci-omap: Allow SDIO card power off and enable aggressive PM") Cc: [email protected] Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Adrian Hunter <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 91f3355 commit 8857a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mmc/host/sdhci-omap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,8 +1340,8 @@ static int sdhci_omap_probe(struct platform_device *pdev)
13401340
/* R1B responses is required to properly manage HW busy detection. */
13411341
mmc->caps |= MMC_CAP_NEED_RSP_BUSY;
13421342

1343-
/* Allow card power off and runtime PM for eMMC/SD card devices */
1344-
mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_AGGRESSIVE_PM;
1343+
/* Enable SDIO card power off. */
1344+
mmc->caps |= MMC_CAP_POWER_OFF_CARD;
13451345

13461346
ret = sdhci_setup_host(host);
13471347
if (ret)

0 commit comments

Comments
 (0)