From c03af5bf18f91febbe4837ac44f25bcc72e29605 Mon Sep 17 00:00:00 2001 From: "Syed Mohammed, Khasim" Date: Wed, 10 Oct 2007 18:17:57 -0500 Subject: [PATCH] FIX BUG in GPT1 Clock Selection The GPT1 CLK SEL register was getting wrong src register, due to which GPT1 was not able to select SYS_CLK as input. Signed-off-by: Syed Mohammed Khasim Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/clock24xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/clock24xx.h b/arch/arm/mach-omap2/clock24xx.h index fe3f1892a2c..7cbd64e270e 100644 --- a/arch/arm/mach-omap2/clock24xx.h +++ b/arch/arm/mach-omap2/clock24xx.h @@ -1489,7 +1489,7 @@ static struct clk gpt1_fck = { .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), .enable_bit = OMAP24XX_EN_GPT1_SHIFT, .init = &omap2_init_clksel_parent, - .clksel_reg = OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL2), + .clksel_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_CLKSEL1), .clksel_mask = OMAP24XX_CLKSEL_GPT1_MASK, .clksel = omap24xx_gpt_clksel, .recalc = &omap2_clksel_recalc, -- 2.41.1