cpufreq: exynos5250: Set APLL rate using CCF API
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 24 Dec 2013 10:05:24 +0000 (15:35 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 00:26:00 +0000 (01:26 +0100)
commit26ab1c62b6e1ed4720d533320d646866027ade09
tree4b6a83c6c097ad2c5b2ad856f366eb1fb6629bfa
parent6f1e4efd882eccca10bac45b77e14bcb4979dc54
cpufreq: exynos5250: Set APLL rate using CCF API

Use common clock framework (CCF) APIs to set the clock rates
instead of direct register manipulation. This now updates the
sysfs entry (cpuinfo_cur_freq) correctly which did not reflect
the correct value until now. While at it clean up the PLL s-div
parameter setting as it is handled by the PLL driver.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/exynos5250-cpufreq.c