Skip to contentSkip to conversation

BACKLIGHT: Ensure platform_lcd on by default

PATCH Ben Dooks 1 participant 1 message Jul 28, 2008

Subsystems (2)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

It seems that we need to ensure that the lcd is powered up at start, otherwise we do not see a display.

drivers/video/backlight/platform_lcd.c +2 -0
Index: linux-2.6.26-quilt4/drivers/video/backlight/platform_lcd.c
===================================================================
@@ -101,6 +101,8 @@ static int __devinit platform_lcd_probe(
 	}
 
 	platform_set_drvdata(pdev, plcd);
+	platform_lcd_set_power(plcd->lcd, FB_BLANK_NORMAL);
+
 	return 0;
 
  err_mem:
Signature · 9 lines
Ben ([email protected], http://www.fluff.org/)

  'a smiley only costs 4 bytes'

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/