From patchwork Tue Apr 2 04:49:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Prisk X-Patchwork-Id: 2374551 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 1CB8FDF2A1 for ; Tue, 2 Apr 2013 04:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760012Ab3DBEt7 (ORCPT ); Tue, 2 Apr 2013 00:49:59 -0400 Received: from server.prisktech.co.nz ([115.188.14.127]:60247 "EHLO server.prisktech.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759826Ab3DBEt6 (ORCPT ); Tue, 2 Apr 2013 00:49:58 -0400 Received: from localhost.localdomain (unknown [192.168.0.102]) by server.prisktech.co.nz (Postfix) with ESMTP id 780E3FC09A4; Tue, 2 Apr 2013 17:49:56 +1300 (NZDT) From: Tony Prisk To: tomi.valkeinen@ti.com Cc: linux-fbdev@vger.kernel.org, florianschandinat@gmx.de, vt8500-wm8505-linux-kernel@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@kernel.org, plagnioj@jcrosoft.com, Tony Prisk Subject: [PATCHv2 5/6] video: vt8500: Adjust contrast in wm8505 framebuffer driver. Date: Tue, 2 Apr 2013 17:49:59 +1300 Message-Id: <1364878200-26343-6-git-send-email-linux@prisktech.co.nz> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364878200-26343-1-git-send-email-linux@prisktech.co.nz> References: <1364878200-26343-1-git-send-email-linux@prisktech.co.nz> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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 Reviewed-by: Jean-Christophe Plagniol-Villard --- drivers/video/wm8505fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index b94ebc9..5057457 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c @@ -373,7 +373,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");