]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00222197 MX6 SabreSD:Set pwm backlight max density to 248
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 31 Aug 2012 09:19:24 +0000 (17:19 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:21 +0000 (08:35 +0200)
This patch changes pwm backlight max density from 255 to 248
to workaround Hannstar LVDS panel unstable backlight issue
when density is set to 250 or 251.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 8747626ca0bcdb6c9525e28d3fbb170db462a299)

arch/arm/mach-mx6/board-mx6q_sabresd.c

index 59ea80c9892a7f8cd5bd1ebb08253e710f14a102..e198617f4227671d43e24bc9e76fdc78a127bb2e 100644 (file)
@@ -1575,7 +1575,7 @@ static void __init imx6q_add_device_buttons(void) {}
 
 static struct platform_pwm_backlight_data mx6_sabresd_pwm_backlight_data = {
        .pwm_id = 0,
-       .max_brightness = 255,
+       .max_brightness = 248,
        .dft_brightness = 128,
        .pwm_period_ns = 50000,
 };