mirror of https://gitee.com/openkylin/linux.git
video: vt8500: Adjust contrast in wm8505 framebuffer driver.
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>
This commit is contained in:
parent
9e340fdc5a
commit
de68efced1
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue