mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
backlight: fix blanking for L4F00242T03 LCD
The LCD was turned on if the variable power was > 0, but that was incorrect. The LCD has to be turned on in NORMAL and UNBLANK case. Signed-off-by: Marek Vasut <[email protected]> Acked-by: Richard Purdie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6bde9082c5
commit
4dbdf8861a
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power)
|
|||
const u16 slpin = 0x10;
|
||||
const u16 disoff = 0x28;
|
||||
|
||||
if (power) {
|
||||
if (power <= FB_BLANK_NORMAL) {
|
||||
if (priv->lcd_on)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue