video: vt8500: Adjust contrast in wm8505 framebuffer driver.
authorTony Prisk <linux@prisktech.co.nz>
Tue, 2 Apr 2013 18:20:37 +0000 (07:20 +1300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 10:07:34 +0000 (13:07 +0300)
The contrast value was typo'd on the original commit (0x80 instead of
0x08). Following feedback from an enduser, a value of 0x10 seems more
suitable due to the default backlight being <100%.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Reviewed-by: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/wm8505fb.c

index 020df1d..e3be1e3 100644 (file)
@@ -358,7 +358,7 @@ static int wm8505fb_probe(struct platform_device *pdev)
        fbi->fb.screen_base             = fb_mem_virt;
        fbi->fb.screen_size             = fb_mem_len;
 
-       fbi->contrast = 0x80;
+       fbi->contrast = 0x10;
        ret = wm8505fb_set_par(&fbi->fb);
        if (ret) {
                dev_err(&pdev->dev, "Failed to set parameters\n");