diff options
author | Rafael J. Wysocki <[email protected]> | 2017-12-18 02:15:32 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-12-18 12:09:39 +0100 |
commit | 56026645e2b6f11ede34a5e6ab69d3eb56f9c8fc (patch) | |
tree | 4cf4a458d91fe51a6a2d41b05354776bdb0e0933 /include/linux/fpga/fpga-bridge.h | |
parent | ccc153a6de1f7741b5ef7c996f9be133772b2092 (diff) |
cpufreq: governor: Ensure sufficiently large sampling intervals
After commit aa7519af450d (cpufreq: Use transition_delay_us for legacy
governors as well) the sampling_rate field of struct dbs_data may be
less than the tick period which causes dbs_update() to produce
incorrect results, so make the code ensure that the value of that
field will always be sufficiently large.
Fixes: aa7519af450d (cpufreq: Use transition_delay_us for legacy governors as well)
Reported-by: Andy Tang <[email protected]>
Reported-by: Doug Smythies <[email protected]>
Tested-by: Andy Tang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions