]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Skip reset check for DSP domain clocks as they need api_ck
authorTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2005 23:57:40 +0000 (15:57 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2005 23:57:40 +0000 (15:57 -0800)
Skip reset check for DSP domain clocks as they need api_ck

arch/arm/mach-omap1/clock.c

index 1cbd1e1e888d919bc5b982a8f86269eb8e0ba471..2184234fa3a668aefb6672255202b73e8790e959 100644 (file)
@@ -605,6 +605,14 @@ static int __init omap1_late_clk_reset(void)
                        p->enable_reg == 0)
                        continue;
 
+               /* Clocks in the DSP domain need api_ck. Just assume bootloader
+                * has not enabled any DSP clocks */
+               if (p->enable_reg == DSP_IDLECT2) {
+                       printk(KERN_INFO "Skipping reset check for DSP domain clock \"%s\"\n",
+                              p->name);
+                       continue;
+               }
+
                /* Is the clock already disabled? */
                if (p->flags & ENABLE_REG_32BIT) {
                        if (p->flags & VIRTUAL_IO_ADDRESS)