You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CPU rate from clk_get_rate() may not be divisible by 1000
(e.g., 133333333). But the rate calculated from frequency(kHz) is
always divisible by 1000 (e.g., 133333000).
Comparing the rate causes a warning during CPU scaling:
"cpufreq: __target_index: Failed to change cpu frequency: -5".
When we choose to compare kHz here, the issue does not occur.
Fixes: 343a8d1 ("cpufreq: scpi: remove arm_big_little dependency")
Signed-off-by: zuoqian <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
0 commit comments