diff options
author | Seungwhan Youn <sw.youn@samsung.com> | 2010-10-14 10:39:33 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-25 16:06:13 +0900 |
commit | 9616674a3597c2ddc4dbeb620eed63ff06b078f4 (patch) | |
tree | 907e3af8357cbd1f677e913718b1f78c8dd67d15 /arch/arm/mach-s5p64x0 | |
parent | c9fa7a08ccb40def56beb9986839b808646f579c (diff) | |
download | linux-3.10-9616674a3597c2ddc4dbeb620eed63ff06b078f4.tar.gz linux-3.10-9616674a3597c2ddc4dbeb620eed63ff06b078f4.tar.bz2 linux-3.10-9616674a3597c2ddc4dbeb620eed63ff06b078f4.zip |
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-s5p64x0')
-rw-r--r-- | arch/arm/mach-s5p64x0/clock-s5p6440.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/clock-s5p6450.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p64x0/clock-s5p6440.c b/arch/arm/mach-s5p64x0/clock-s5p6440.c index cfccdff744d..0d728d3383b 100644 --- a/arch/arm/mach-s5p64x0/clock-s5p6440.c +++ b/arch/arm/mach-s5p64x0/clock-s5p6440.c @@ -79,6 +79,9 @@ static int s5p6440_epll_set_rate(struct clk *clk, unsigned long rate) __raw_writel(epll_con, S5P64X0_EPLL_CON); __raw_writel(epll_con_k, S5P64X0_EPLL_CON_K); + printk(KERN_WARNING "EPLL Rate changes from %lu to %lu\n", + clk->rate, rate); + clk->rate = rate; return 0; diff --git a/arch/arm/mach-s5p64x0/clock-s5p6450.c b/arch/arm/mach-s5p64x0/clock-s5p6450.c index f1498d35111..1b9b0f92d17 100644 --- a/arch/arm/mach-s5p64x0/clock-s5p6450.c +++ b/arch/arm/mach-s5p64x0/clock-s5p6450.c @@ -80,6 +80,9 @@ static int s5p6450_epll_set_rate(struct clk *clk, unsigned long rate) __raw_writel(epll_con, S5P64X0_EPLL_CON); __raw_writel(epll_con_k, S5P64X0_EPLL_CON_K); + printk(KERN_WARNING "EPLL Rate changes from %lu to %lu\n", + clk->rate, rate); + clk->rate = rate; return 0; |