]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Reset unused UART2 48MHz clock
authorTony Lindgren <tony@atomide.com>
Thu, 9 Jun 2005 23:27:57 +0000 (16:27 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 9 Jun 2005 23:27:57 +0000 (16:27 -0700)
CONFIG_OMAP_RESET_CLOCKS would not reset UART2 clock on boards
with just one serial port.

arch/arm/mach-omap/clock.c

index cf2da625bf7b870f297537241b7467afca54f240..c8e8a67a47f318d23cc80ace8167dec47b37ac3b 100644 (file)
@@ -386,8 +386,7 @@ static struct clk uart2_ck = {
        .name           = "uart2_ck",
        /* Direct from ULPD, no parent */
        .rate           = 12000000,
-       .flags          = CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX | ENABLE_REG_32BIT |
-                         ALWAYS_ENABLED,
+       .flags          = CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX | ENABLE_REG_32BIT,
        .enable_reg     = MOD_CONF_CTRL_0,
        .enable_bit     = 30,   /* Chooses between 12MHz and 48MHz */
        .set_rate       = &set_uart_rate,