Skip to contentSkip to conversation

OMAP2: Fix dss_54m_fck enable_bit

PATCH In review Paul Walmsley 2 participants 2 messages Jun 19, 2007 – Jun 21, 2007 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Paul Walmsley

author maintainer
#1 lore raw

PATCH 1/1 OMAP2: Fix dss_54m_fck enable_bit

Fix an incorrect enable_bit for the OMAP2 clock dss_54m_fck; prevents the LCD backlight from lighting up on 2430 SDP. Problem noted by Kevin Hilman <[email protected]>; debugging assistance from Khasim Syed Mohammed <[email protected]> and Richard Woodruff <[email protected]>.

---
 arch/arm/mach-omap2/clock.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/clock.h +1 -1
Index: linux-omap/arch/arm/mach-omap2/clock.h
===================================================================
@@ -1071,7 +1071,7 @@ static struct clk dss_54m_fck = {	/* Alt
 	.flags		= CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X |
 				RATE_FIXED | RATE_PROPAGATES,
 	.enable_reg	= OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
-	.enable_bit	= OMAP24XX_EN_DSS2_SHIFT,
+	.enable_bit	= OMAP24XX_EN_TV_SHIFT,
 	.recalc		= &omap2_propagate_rate,
 };
 
maintainer
#2 lore raw
Quoted 16 lines · Paul Walmsley

Fix an incorrect enable_bit for the OMAP2 clock dss_54m_fck; prevents the LCD backlight from lighting up on 2430 SDP. Problem noted by Kevin Hilman <[email protected]>; debugging assistance from Khasim Syed Mohammed <[email protected]> and Richard Woodruff <[email protected]>.

---
 arch/arm/mach-omap2/clock.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-omap/arch/arm/mach-omap2/clock.h
===================================================================

arch/arm/mach-omap2/clock.h static struct clk dss_54m_fck = { /* Alt · line 1076

Quoted 7 lines
arch/arm/mach-omap2/clock.h +1 -1
@@ -1071,7 +1071,7 @@ static struct clk dss_54m_fck = {	/* Alt
 	.flags		= CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X |
 				RATE_FIXED | RATE_PROPAGATES,
 	.enable_reg	= OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
-	.enable_bit	= OMAP24XX_EN_DSS2_SHIFT,
+	.enable_bit	= OMAP24XX_EN_TV_SHIFT,
 	.recalc		= &omap2_propagate_rate,
 };

Thanks, pushing today.

Tony