cpufreq: cpufreq-cpu0: use the exact frequency for clk_set_rate()
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 25 Feb 2013 17:22:37 +0000 (18:22 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Jun 2013 11:51:29 +0000 (13:51 +0200)
commit0ca684365547cd5f214b5739568dae3df5d6cec9
tree507c96ddad126a40e156548d1f9de255eb6421b0
parent2f7021a815f20f3481c10884fe9735ce2a56db35
cpufreq: cpufreq-cpu0: use the exact frequency for clk_set_rate()

clk_set_rate() isn't supposed to accept approximate frequencies, instead
a supported frequency should be obtained from clk_round_rate() and then
used to set the clock.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-cpu0.c