OSDN Git Service

OMAP: timers: Fix clock source names for OMAP4
authorRajendra Nayak <rnayak@ti.com>
Wed, 19 May 2010 02:24:00 +0000 (20:24 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:13 +0000 (12:31 -0600)
The clock sources for timers on OMAP4 (system clock and 32k
clock) have their names wronly populated.
This patch fixes them so the omap_dm_timer_set_source
does not fail anymore.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/dmtimer.c

index 4d99dfb..c64875f 100644 (file)
@@ -264,8 +264,8 @@ static struct omap_dm_timer omap4_dm_timers[] = {
        { .phys_base = 0x4a320000, .irq = OMAP44XX_IRQ_GPT12 },
 };
 static const char *omap4_dm_source_names[] __initdata = {
-       "sys_ck",
-       "omap_32k_fck",
+       "sys_clkin_ck",
+       "sys_32k_ck",
        NULL
 };
 static struct clk *omap4_dm_source_clocks[2];