diff options
author | Seungwhan Youn <sw.youn@samsung.com> | 2010-10-13 21:39:33 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-25 03:06:13 -0400 |
commit | 9616674a3597c2ddc4dbeb620eed63ff06b078f4 (patch) | |
tree | 907e3af8357cbd1f677e913718b1f78c8dd67d15 /arch/arm/mach-s5pv210/clock.c | |
parent | c9fa7a08ccb40def56beb9986839b808646f579c (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-s5pv210/clock.c')
-rw-r--r-- | arch/arm/mach-s5pv210/clock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/clock.c b/arch/arm/mach-s5pv210/clock.c index 156aa8af9072..38ad7e55ab12 100644 --- a/arch/arm/mach-s5pv210/clock.c +++ b/arch/arm/mach-s5pv210/clock.c | |||
@@ -1109,6 +1109,9 @@ static int s5pv210_epll_set_rate(struct clk *clk, unsigned long rate) | |||
1109 | __raw_writel(epll_con, S5P_EPLL_CON); | 1109 | __raw_writel(epll_con, S5P_EPLL_CON); |
1110 | __raw_writel(epll_con_k, S5P_EPLL_CON1); | 1110 | __raw_writel(epll_con_k, S5P_EPLL_CON1); |
1111 | 1111 | ||
1112 | printk(KERN_WARNING "EPLL Rate changes from %lu to %lu\n", | ||
1113 | clk->rate, rate); | ||
1114 | |||
1112 | clk->rate = rate; | 1115 | clk->rate = rate; |
1113 | 1116 | ||
1114 | return 0; | 1117 | return 0; |