Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de68efce authored by Tony Prisk's avatar Tony Prisk Committed by Tomi Valkeinen
Browse files

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: default avatarTony Prisk <linux@prisktech.co.nz>
Reviewed-by: default avatarJean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 9e340fdc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");