mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V1] mmc: sdhci-msm: Enable MMC_CAP_AGGRESSIVE_PM for qualcomm controllers
@ 2024-11-04  6:07 Sarthak Garg
  2024-11-04 10:49 ` Dmitry Baryshkov
  2024-11-15 10:58 ` Ulf Hansson
  0 siblings, 2 replies; 18+ messages in thread
From: Sarthak Garg @ 2024-11-04  6:07 UTC (permalink / raw)
  To: Adrian Hunter, Ulf Hansson
  Cc: linux-mmc, linux-arm-msm, linux-kernel, quic_cang, quic_nguyenb,
	quic_rampraka, quic_pragalla, quic_sayalil, quic_nitirawa,
	quic_sachgupt, quic_bhaskarv, quic_narepall, kernel,
	Sarthak Garg

Enable MMC_CAP_AGGRESSIVE_PM for qualcomm controllers.
This enables runtime PM for eMMC/SD card.

Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
---
 drivers/mmc/host/sdhci-msm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index e00208535bd1..6657f7db1b8e 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -2626,6 +2626,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
 		goto clk_disable;
 	}
 
+	msm_host->mmc->caps |= MMC_CAP_AGGRESSIVE_PM;
 	msm_host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_NEED_RSP_BUSY;
 
 	/* Set the timeout value to max possible */
-- 
2.17.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-07-31 11:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-04  6:07 [PATCH V1] mmc: sdhci-msm: Enable MMC_CAP_AGGRESSIVE_PM for qualcomm controllers Sarthak Garg
2024-11-04 10:49 ` Dmitry Baryshkov
2024-11-15 10:22   ` Sarthak Garg
2024-11-15 13:23     ` Dmitry Baryshkov
2025-05-21  7:16       ` Sarthak Garg
2025-05-21 12:55         ` Dmitry Baryshkov
2025-05-21 14:35           ` Sarthak Garg
2025-05-21 14:49             ` Dmitry Baryshkov
2025-05-21 15:36               ` Sarthak Garg
2025-05-21 15:41                 ` Dmitry Baryshkov
2025-05-27 15:20                   ` Ulf Hansson
2025-07-24 11:42                     ` Sarthak Garg
2025-07-24 11:58                       ` Dmitry Baryshkov
2025-07-24 11:15                   ` Sarthak Garg
2025-07-24 12:01                     ` Dmitry Baryshkov
2025-07-31 11:09                       ` Sarthak Garg
2024-11-15 10:58 ` Ulf Hansson
2025-05-21  7:06   ` Sarthak Garg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®