Skip to content

Commit 49d1626

Browse files
author
Ulf Hansson
committed
mmc: sdhci-omap: Disable MMC_CAP_AGGRESSIVE_PM for eMMC/SD
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 <daowens01@gmail.com> Reported-by: Romain Naour <romain.naour@smile.fr> Reported-by: Robert Nelson <robertcnelson@gmail.com> Tested-by: Robert Nelson <robertcnelson@gmail.com> Fixes: 3edf588 ("mmc: sdhci-omap: Allow SDIO card power off and enable aggressive PM") Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20250312121712.1168007-1-ulf.hansson@linaro.org
1 parent 38e7047 commit 49d1626

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mmc/host/sdhci-omap.c

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

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

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

0 commit comments

Comments
 (0)