diff options
author | Ram Prakash Gupta <quic_rampraka@quicinc.com> | 2024-06-27 10:37:56 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-07-05 04:48:33 +0200 |
commit | ed7dac86f1406d73aed21d0cd1563922031a2fd8 (patch) | |
tree | 770a8cff66746e04697c488f7d4ebc0274094e46 /drivers/ufs | |
parent | scsi: ufs: core: Suspend clk scaling on no request (diff) | |
download | linux-ed7dac86f1406d73aed21d0cd1563922031a2fd8.tar.xz linux-ed7dac86f1406d73aed21d0cd1563922031a2fd8.zip |
scsi: ufs: qcom: Enable suspending clk scaling on no request
Enable suspending clk scaling on no request for Qualcomm SoC.
Signed-off-by: Ram Prakash Gupta <quic_rampraka@quicinc.com>
Link: https://lore.kernel.org/r/20240627083756.25340-3-quic_rampraka@quicinc.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
-rw-r--r-- | drivers/ufs/host/ufs-qcom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c index c12004030b50..810e637047d0 100644 --- a/drivers/ufs/host/ufs-qcom.c +++ b/drivers/ufs/host/ufs-qcom.c @@ -1548,6 +1548,8 @@ static void ufs_qcom_config_scaling_param(struct ufs_hba *hba, p->timer = DEVFREQ_TIMER_DELAYED; d->upthreshold = 70; d->downdifferential = 5; + + hba->clk_scaling.suspend_on_no_request = true; } #else static void ufs_qcom_config_scaling_param(struct ufs_hba *hba, |