diff options
author | Subhash Jadavani <subhashj@codeaurora.org> | 2014-10-28 00:19:05 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:57:58 -0700 |
commit | 6666b25de7c03d998d4299bd012aab1ed0acd7ad (patch) | |
tree | d7f8db1ef3a08c5d5ca812d63a699eaec0d36ad3 | |
parent | 3b2cafba360b4d95d6b82a837c8d2121f0f8e707 (diff) |
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: Subhash Jadavani <subhashj@codeaurora.org>
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 05124e7bfb25..c4b86605a2bc 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -7852,7 +7852,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, }; |