summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-11-25 13:40:42 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:08:18 +0800
commit313242fd9a2e3d889a1a339c7d81ac26700b730c (patch)
treea089bfaf94e832fdb6a3c4f761b85ca79a7a5a48 /drivers/video
parent69ff52ba61fd3163f95b92297fa1ee110e6f2e8b (diff)
ENGR00163120 pwm backlight: work-around for lvds panel blank issue on mx6q
make all display can control pwm backlight. NOTE!!!: it's not a good solution, will bring side-affect of no backlight display device can disable pwm backlight of other display device. Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/pwm_bl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index 5d5c43bc6d1b..80e8c78907e2 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -67,7 +67,10 @@ static int pwm_backlight_check_fb(struct backlight_device *bl,
struct fb_info *info)
{
char *id = info->fix.id;
- if (!strcmp(id, "DISP3 BG"))
+ if (!strcmp(id, "DISP3 BG") ||
+ !strcmp(id, "DISP3 BG - DI1") ||
+ !strcmp(id, "DISP4 BG") ||
+ !strcmp(id, "DISP4 BG - DI1"))
return 1;
else
return 0;