mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
FROMGIT: 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> Bug: 351099319 (cherry picked from commit ed7dac86f1406d73aed21d0cd1563922031a2fd8 https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git 6.11/scsi-staging) Change-Id: Ifbdc14ceae5a59c04a5977b56a198fd295253b3e Signed-off-by: Manish Pandey <quic_mapa@quicinc.com> (cherry picked from commit fcfa54b63051a70ad2467a444001b302e97fe9eb)
This commit is contained in:
@@ -1378,6 +1378,8 @@ static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
|
|||||||
p->polling_ms = 60;
|
p->polling_ms = 60;
|
||||||
d->upthreshold = 70;
|
d->upthreshold = 70;
|
||||||
d->downdifferential = 5;
|
d->downdifferential = 5;
|
||||||
|
|
||||||
|
hba->clk_scaling.suspend_on_no_request = true;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
|
static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
|
||||||
|
|||||||
Reference in New Issue
Block a user