aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2009-01-28 14:27:48 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-08 12:50:41 -0500
commit7b0f89d7bba946345fd597110388da5a913e9744 (patch)
tree9036eba4c4a4e4b869e232ee988d35b275dece6c /arch
parent8463e20a58e8b8c88fab948b8610504cbf604294 (diff)
[ARM] OMAP2/3 clock: use standard set_rate fn in omap2_clk_arch_init()
Use the standard clk_set_rate() function in omap2_clk_arch_init() rather than omap2_select_table_rate() -- this will ensure that clock rates are recalculated and propagated correctly after those operations are consolidated into clk_set_rate(). linux-omap source commit is 03c03330017eeb445b01957608ff5db49a7151b6. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/clock24xx.c2
-rw-r--r--arch/arm/mach-omap2/clock34xx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c
index a11e7c71177c..2ce8c0296e82 100644
--- a/arch/arm/mach-omap2/clock24xx.c
+++ b/arch/arm/mach-omap2/clock24xx.c
@@ -688,7 +688,7 @@ static int __init omap2_clk_arch_init(void)
688 if (!mpurate) 688 if (!mpurate)
689 return -EINVAL; 689 return -EINVAL;
690 690
691 if (omap2_select_table_rate(&virt_prcm_set, mpurate)) 691 if (clk_set_rate(&virt_prcm_set, mpurate))
692 printk(KERN_ERR "Could not find matching MPU rate\n"); 692 printk(KERN_ERR "Could not find matching MPU rate\n");
693 693
694 recalculate_root_clocks(); 694 recalculate_root_clocks();
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c
index 1ad0a1359cb8..06a81febe457 100644
--- a/arch/arm/mach-omap2/clock34xx.c
+++ b/arch/arm/mach-omap2/clock34xx.c
@@ -866,7 +866,7 @@ static int __init omap2_clk_arch_init(void)
866 866
867 /* REVISIT: not yet ready for 343x */ 867 /* REVISIT: not yet ready for 343x */
868#if 0 868#if 0
869 if (omap2_select_table_rate(&virt_prcm_set, mpurate)) 869 if (clk_set_rate(&virt_prcm_set, mpurate))
870 printk(KERN_ERR "Could not find matching MPU rate\n"); 870 printk(KERN_ERR "Could not find matching MPU rate\n");
871#endif 871#endif
872 872