On 21 November 2013 10:14, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> > --- > To fully test this, the following 2 patches would be necessary: > * clk: exynos5250: register APLL rate table > http://www.spinics.net/lists/arm-kernel/msg285103.html > * clk: exynos5250: Add CLK_SET_RATE_PARENT flag to mout_apll > http://permalink.gmane.org/gmane.linux.kernel.samsung-soc/24906 > --- > > drivers/cpufreq/exynos5250-cpufreq.c | 74 +++++----------------------------- > 1 file changed, 10 insertions(+), 64 deletions(-) Nice cleanup.. Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html