From: Heiko Stuebner Date: Thu, 8 May 2014 20:48:44 +0000 (+0900) Subject: ARM: S3C24XX: cpufreq-utils: don't write raw values to MPLLCON when using ccf X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~45^2~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b532578f39fdec159105bc415938910351a699;p=pandora-kernel.git ARM: S3C24XX: cpufreq-utils: don't write raw values to MPLLCON when using ccf The s3c24xx cpufreq driver needs to change the mpll speed and was doing this by writing raw values from a translation table into the MPLLCON register. Change this to use a regular clk_set_rate call when using the common clock framework and only write the raw value in the samsung_clock case. The s3c cpufreq driver does already aquire the mpll, so simply add a reference to struct s3c_cpufreq_config to let set_fvco access it. While struct clk is opaque the differenciation between samsung clock and common clock is kept, as the samsung-clock mpll clk does not implement a real set_rate. Signed-off-by: Heiko Stuebner Acked-by: Tomasz Figa Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed