]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP2/3 clock: use standard set_rate fn in omap2_clk_arch_init()
authorPaul Walmsley <paul@pwsan.com>
Wed, 7 Jan 2009 15:20:23 +0000 (17:20 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jan 2009 15:20:23 +0000 (17:20 +0200)
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().

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock34xx.c

index ff14d12426526a9920c41a320f200d562f46999a..8567de23c6cd25f4f6a301cd5b21437a5ad15566 100644 (file)
@@ -501,7 +501,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 2c655bef0b6feb668227d01389508dc8225e548a..738a0298636303b512b727cca14aa5025f7eafa6 100644 (file)
@@ -665,7 +665,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