[PATCH V2 3/3] ufs: ufs-qcom: Enable CPU latency QoS support for QCOM SoC

Maramaina Naresh quic_mnaresh at quicinc.com
Mon Dec 4 06:31:01 PST 2023


Enable CPU latency PM QoS capability support for QCOM SoC.

Signed-off-by: Maramaina Naresh <quic_mnaresh at quicinc.com>
---
 drivers/ufs/host/ufs-qcom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c
index 96cb8b5b4e66..3211cccce933 100644
--- a/drivers/ufs/host/ufs-qcom.c
+++ b/drivers/ufs/host/ufs-qcom.c
@@ -1061,6 +1061,7 @@ static void ufs_qcom_set_caps(struct ufs_hba *hba)
 	hba->caps |= UFSHCD_CAP_WB_EN;
 	hba->caps |= UFSHCD_CAP_AGGR_POWER_COLLAPSE;
 	hba->caps |= UFSHCD_CAP_RPM_AUTOSUSPEND;
+	hba->caps |= UFSHCD_CAP_PM_QOS;
 
 	if (host->hw_ver.major >= 0x2) {
 		host->caps = UFS_QCOM_CAP_QUNIPRO |
-- 
2.34.1




More information about the Linux-mediatek mailing list