]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] OMAP2/3 clock: use standard set_rate fn in omap2_clk_arch_init()
authorPaul Walmsley <paul@pwsan.com>
Wed, 28 Jan 2009 19:27:48 +0000 (12:27 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:41 +0000 (17:50 +0000)
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>
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock34xx.c

index a11e7c71177c50d4cdab907ab9929480ca86531d..2ce8c0296e82fb94037d0a1f23e08a84a98c37c5 100644 (file)
@@ -688,7 +688,7 @@ static int __init omap2_clk_arch_init(void)
        if (!mpurate)
                return -EINVAL;
 
-       if (omap2_select_table_rate(&virt_prcm_set, mpurate))
+       if (clk_set_rate(&virt_prcm_set, mpurate))
                printk(KERN_ERR "Could not find matching MPU rate\n");
 
        recalculate_root_clocks();
index 1ad0a1359cb8da9dabb6de49c34d743285076e0e..06a81febe45715edb33a05fa280dab63f793f293 100644 (file)
@@ -866,7 +866,7 @@ static int __init omap2_clk_arch_init(void)
 
        /* REVISIT: not yet ready for 343x */
 #if 0
-       if (omap2_select_table_rate(&virt_prcm_set, mpurate))
+       if (clk_set_rate(&virt_prcm_set, mpurate))
                printk(KERN_ERR "Could not find matching MPU rate\n");
 #endif