From patchwork Thu Feb 10 10:05:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 545981 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1AAUfeP010255 for ; Thu, 10 Feb 2011 10:30:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755829Ab1BJKal (ORCPT ); Thu, 10 Feb 2011 05:30:41 -0500 Received: from webbox687.server-home.net ([195.149.74.151]:54232 "EHLO webbox687.server-home.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755819Ab1BJKak (ORCPT ); Thu, 10 Feb 2011 05:30:40 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 10 Feb 2011 10:30:41 +0000 (UTC) X-Greylist: delayed 1504 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Feb 2011 05:30:40 EST Received: from comm.systec-electronic.de (178-25-116-119-dynip.superkabel.de [178.25.116.119]) by webbox687.server-home.net (Postfix) with ESMTP id DA50C778007; Thu, 10 Feb 2011 11:05:34 +0100 (CET) Received: from ws-stein.systec-electronic.de (ws-stein.systec-electronic.de [192.168.10.93]) by comm.systec-electronic.de (Postfix) with ESMTP id 59AA797C068; Thu, 10 Feb 2011 11:05:35 +0100 (CET) From: Alexander Stein To: linux-fbdev@vger.kernel.org Cc: Guennadi Liakhovetski , Alexander Stein Subject: [PATCH] mx3fb: Fix parameter to sdc_init_panel Date: Thu, 10 Feb 2011 11:05:30 +0100 Message-Id: <1297332330-21964-1-git-send-email-alexander.stein@systec-electronic.com> X-Mailer: git-send-email 1.7.3.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index ef71e56..9040833 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -881,12 +881,11 @@ static int __set_par(struct fb_info *fbi, bool lock) IPU_PIX_FMT_BGR666 : IPU_PIX_FMT_RGB666, fbi->var.left_margin, fbi->var.hsync_len, - fbi->var.right_margin + - fbi->var.hsync_len, + fbi->var.right_margin, fbi->var.upper_margin, fbi->var.vsync_len, - fbi->var.lower_margin + - fbi->var.vsync_len, sig_cfg) != 0) { + fbi->var.lower_margin, + sig_cfg) != 0) { dev_err(fbi->device, "mx3fb: Error initializing panel.\n"); return -EINVAL;