diff options
author | 2020-03-25 11:29:00 -0700 | |
---|---|---|
committer | 2020-03-26 22:18:12 -0400 | |
commit | 91831d3336627ff0585c1519935bc11b48de22c6 (patch) | |
tree | f13065a79210b910628f3b12e437c225a9c25769 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | scsi: ufs: Resume ufs host before accessing ufs device (diff) | |
download | wireguard-linux-91831d3336627ff0585c1519935bc11b48de22c6.tar.xz wireguard-linux-91831d3336627ff0585c1519935bc11b48de22c6.zip |
scsi: ufshcd: Update the set frequency to devfreq
Currently, the frequency that devfreq provides the driver always leads the
clocks to be scaled up. Hence, round the clock-rate to the nearest
frequency before deciding to scale.
Also update the devfreq statistics of current frequency.
Link: https://lore.kernel.org/r/d0c6c22455811e9f0eda01f9bc70d1398b51b2bd.1585160616.git.asutoshd@codeaurora.org
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions