aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/clock.c
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2010-10-13 21:39:33 -0400
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 03:06:13 -0400
commit9616674a3597c2ddc4dbeb620eed63ff06b078f4 (patch)
tree907e3af8357cbd1f677e913718b1f78c8dd67d15 /arch/arm/mach-s5pc100/clock.c
parentc9fa7a08ccb40def56beb9986839b808646f579c (diff)
ARM: S5P: Add EPLL rate change warning
This patch adds warning about changing EPLL rate to notice that other driver that controls H/W, which is using EPLL, will has unknown effects by this EPLL rate change. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc100/clock.c')
-rw-r--r--arch/arm/mach-s5pc100/clock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/clock.c b/arch/arm/mach-s5pc100/clock.c
index 42c2636ca3ac..9e192a0ad4f9 100644
--- a/arch/arm/mach-s5pc100/clock.c
+++ b/arch/arm/mach-s5pc100/clock.c
@@ -323,6 +323,9 @@ static int s5pc100_epll_set_rate(struct clk *clk, unsigned long rate)
323 323
324 __raw_writel(epll_con, S5P_EPLL_CON); 324 __raw_writel(epll_con, S5P_EPLL_CON);
325 325
326 printk(KERN_WARNING "EPLL Rate changes from %lu to %lu\n",
327 clk->rate, rate);
328
326 clk->rate = rate; 329 clk->rate = rate;
327 330
328 return 0; 331 return 0;