Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5474a9f0 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs: fix the downdifferntial value for clock scaling



"downdifferntial" parameter of devfreq ondemand governor should
be set to value such that if the load is under upthreshold minus
downdifferential, the governor may consider slowing the frequency down.

As the devfreq ondemand governor is now fixed to handle the
downdifferential correctly, update the downdifferential parameter for
UFS clock scaling (which uses the devfreq ondemand governor).

Change-Id: I14efbe5706a56af00d72fad08392b3db13cbbca9
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent f88dd9de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7808,7 +7808,7 @@ start_window:
#if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND)
static struct devfreq_simple_ondemand_data ufshcd_ondemand_data = {
	.upthreshold = 35,
	.downdifferential = 5,
	.downdifferential = 30,
	.simple_scaling = 1,
};