public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] FIX BUG in GPT1 Clock Selection
@ 2007-10-10 23:17 Syed Mohammed, Khasim
  2007-10-12 20:25 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Syed Mohammed, Khasim @ 2007-10-10 23:17 UTC (permalink / raw)
  To: Linux OMAP

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 <x0khasim@ti.com>

File:
 arch/arm/mach-omap2/clock24xx.h
=======================================================================

diff -purN linux-omap/arch/arm/mach-omap2/clock24xx.h my_linux-omap/arch/arm/mach-omap2/clock24xx.h
--- linux-omap/arch/arm/mach-omap2/clock24xx.h	2007-10-09 18:14:08.000000000 -0500
+++ my_linux-omap/arch/arm/mach-omap2/clock24xx.h	2007-10-10 17:27:07.000000000 -0500
@@ -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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-12 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 23:17 [PATCH] FIX BUG in GPT1 Clock Selection Syed Mohammed, Khasim
2007-10-12 20:25 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox