diff mbox series

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

Message ID 20231204143101.64163-4-quic_mnaresh@quicinc.com (mailing list archive)
State New, archived
Headers show
Series Add CPU latency QoS support for ufs driver | expand

Commit Message

Maramaina Naresh Dec. 4, 2023, 2:31 p.m. UTC
Enable CPU latency PM QoS capability support for QCOM SoC.

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

Patch

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 |