cpufreq: conservative: set requested_freq to policy max when it is over policy max
authorXiaoguang Chen <chenxg@marvell.com>
Fri, 8 Nov 2013 05:23:52 +0000 (13:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Nov 2013 22:18:20 +0000 (23:18 +0100)
commit6d7bcb1464a89181ddc4b4584ad6e0c7566ae31b
tree72a590b53d27da24dff31603256eb8b9bda646b8
parent3baa976ae644f76f5cdb5be0fb26754c3bfb32cb
cpufreq: conservative: set requested_freq to policy max when it is over policy max

When requested_freq is over policy->max, set it to policy->max.
This can help to speed up decreasing frequency.

Signed-off-by: Xiaoguang Chen <chenxg@marvell.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_conservative.c