diff options
author | Donghan Ryu <dryu@nvidia.com> | 2012-01-31 17:55:40 +0900 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-09 12:56:16 -0800 |
commit | f281fd2cb19e333a560f1454a6e1d9ccd6886ca3 (patch) | |
tree | 251181b95a324d4caff13b1f1b6dcaaa3aa30f40 /drivers/watchdog | |
parent | 710e291cabb68d047b9098f24baa22556b1e3ec0 (diff) |
cpufreq: properly clamp QoS min/max
typically PM QoS clients request the maximum cpu frequency by
setting cpu_freq_min to INT_MAX. Therefore, we need to clamp INT_MAX
to whatever the maximum frequency allowed by the policy to make
the requested cpu_freq_min is same as the maximum allowed cpu
frequency. Inverse logic applies to the cpu_freq_max as well.
Bug 932477
Signed-off-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-on: http://git-master/r/78401
(cherry picked from commit 9688430a621515f3afe3e0ab358ea7ad5aab6d91)
Change-Id: Ie5edcd4a873ed5cce45ec0f9b981f28db6091ff1
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/80002
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions