]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit636913fdd137b6ac2ab7b1c097bf6c1002d583da
tree4b6a83c6c097ad2c5b2ad856f366eb1fb6629bfa
parentbb5eb603b6d5629edf021622d78c6ae811060878
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