diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-04-02 14:20:37 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-04 06:07:34 -0400 |
commit | de68efced121eda500792b42547847636066525e (patch) | |
tree | b73dc468a77e0a64f0d5f674cceb9ec3bf2c9470 | |
parent | 9e340fdc5af6ae3041d73319bbd1438c7d6d566c (diff) |
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>
-rw-r--r-- | drivers/video/wm8505fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 020df1ddb674..e3be1e37d2b3 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c | |||
@@ -358,7 +358,7 @@ static int wm8505fb_probe(struct platform_device *pdev) | |||
358 | fbi->fb.screen_base = fb_mem_virt; | 358 | fbi->fb.screen_base = fb_mem_virt; |
359 | fbi->fb.screen_size = fb_mem_len; | 359 | fbi->fb.screen_size = fb_mem_len; |
360 | 360 | ||
361 | fbi->contrast = 0x80; | 361 | fbi->contrast = 0x10; |
362 | ret = wm8505fb_set_par(&fbi->fb); | 362 | ret = wm8505fb_set_par(&fbi->fb); |
363 | if (ret) { | 363 | if (ret) { |
364 | dev_err(&pdev->dev, "Failed to set parameters\n"); | 364 | dev_err(&pdev->dev, "Failed to set parameters\n"); |