diff options
author | Asutosh Das <[email protected]> | 2020-03-25 11:29:00 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-03-26 22:18:12 -0400 |
commit | 91831d3336627ff0585c1519935bc11b48de22c6 (patch) | |
tree | f13065a79210b910628f3b12e437c225a9c25769 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 0c2039dc1591bb9a3b887753b37946f09f4bf208 (diff) |
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 <[email protected]>
Signed-off-by: Asutosh Das <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions