Re: mmc0: error -95 doing runtime resume
From: Thomas Haschka
Date: Thu Mar 13 2025 - 06:58:39 EST
Dear Uffe,
I built and tried the attached patch, however the problems with the sdcards
remain even if I remove MMC_CAP_AGGRESSIVE_PM;
All the best,
- Thomas
diff '--color=auto' -urN a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
--- a/drivers/mmc/host/rtsx_pci_sdmmc.c 2025-02-21 14:01:47.000000000 +0100
+++ b/drivers/mmc/host/rtsx_pci_sdmmc.c 2025-03-13 11:50:30.427016383 +0100
@@ -1459,7 +1459,7 @@
MMC_CAP_MMC_HIGHSPEED | MMC_CAP_BUS_WIDTH_TEST |
MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25;
if (pcr->rtd3_en)
- mmc->caps = mmc->caps | MMC_CAP_AGGRESSIVE_PM;
+ mmc->caps = mmc->caps;
mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE |
MMC_CAP2_NO_SDIO;
mmc->max_current_330 = 400;