Skip to content

Commit

Permalink
backlight: ensure platform_lcd on by default
Browse files Browse the repository at this point in the history
It seems that we need to ensure that the lcd is powered up at start,
otherwise we do not see a display.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Jul 30, 2008
1 parent aeed682 commit 126ed36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/backlight/platform_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ static int __devinit platform_lcd_probe(struct platform_device *pdev)
}

platform_set_drvdata(pdev, plcd);
platform_lcd_set_power(plcd->lcd, FB_BLANK_NORMAL);

return 0;

err_mem:
Expand Down

0 comments on commit 126ed36

Please sign in to comment.