Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ram Prakash Gupta and committed by
Martin K. Petersen
ed7dac86 50183ac2

+2
+2
drivers/ufs/host/ufs-qcom.c
··· 1548 1548 p->timer = DEVFREQ_TIMER_DELAYED; 1549 1549 d->upthreshold = 70; 1550 1550 d->downdifferential = 5; 1551 + 1552 + hba->clk_scaling.suspend_on_no_request = true; 1551 1553 } 1552 1554 #else 1553 1555 static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,