]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00268508 backlight:Correct the setting for bd props.fb_blank
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 25 Jun 2013 09:13:33 +0000 (17:13 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:23 +0000 (21:16 -0600)
commit894bd5be256c800d11660ce954735fcbcd4f17a0
tree69be14b4cb63e26f2a05f34d5a0b385fc3043c41
parent76a3cbdce8187c2918a160e1105ec805044b9c10
ENGR00268508 backlight:Correct the setting for bd props.fb_blank

The patch of "ENGR00264855 backlight: Support backlight shared by
multiple fbs" doesn't consider that bd->props.fb_blank could be
shared by several framebuffers which use the same backlight device.
This causes the pwm backlight wrongly check the fb blank status.
This patch corrects the setting for the fb blank status by
considering all the framebuffers in question to fix the issue.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 68b97d114629f22f64b3d8c14d0a0b7d07d6ebb2)
[shawn.guo: cherry-pick commit 8a03a96fba08 from imx_3.10.y]
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
drivers/video/backlight/backlight.c