diff options
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer-gp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 242d8f925e9e..6789dd4029a1 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c | |||
@@ -753,7 +753,7 @@ static u32 omap2_get_src_field(u32 *type_to_addr, u32 reg_offset, | |||
753 | val = 0x2; | 753 | val = 0x2; |
754 | break; | 754 | break; |
755 | case CM_WKUP_SEL1: | 755 | case CM_WKUP_SEL1: |
756 | src_reg_addr = (u32)&CM_CLKSEL2_CORE; | 756 | src_reg_addr = (u32)&CM_CLKSEL_WKUP; |
757 | mask = 0x3; | 757 | mask = 0x3; |
758 | if (src_clk == &func_32k_ck) | 758 | if (src_clk == &func_32k_ck) |
759 | val = 0x0; | 759 | val = 0x0; |
diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c index 3358c0d47b1a..cf78e6c5a277 100644 --- a/arch/arm/mach-omap2/timer-gp.c +++ b/arch/arm/mach-omap2/timer-gp.c | |||
@@ -61,7 +61,7 @@ static void __init omap2_gp_timer_init(void) | |||
61 | u32 tick_period; | 61 | u32 tick_period; |
62 | 62 | ||
63 | omap_dm_timer_init(); | 63 | omap_dm_timer_init(); |
64 | gptimer = omap_dm_timer_request_specific(2); | 64 | gptimer = omap_dm_timer_request_specific(1); |
65 | BUG_ON(gptimer == NULL); | 65 | BUG_ON(gptimer == NULL); |
66 | 66 | ||
67 | omap_dm_timer_set_source(gptimer, OMAP_TIMER_SRC_SYS_CLK); | 67 | omap_dm_timer_set_source(gptimer, OMAP_TIMER_SRC_SYS_CLK); |