Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dbdf886 authored by Marek Vasut's avatar Marek Vasut Committed by Linus Torvalds
Browse files

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: default avatarMarek Vasut <marek.vasut@gmail.com>
Acked-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6bde9082
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;