From patchwork Fri Mar 11 09:20:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 627841 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 p2B9LvUD022246 for ; Fri, 11 Mar 2011 09:22:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752833Ab1CKJWB (ORCPT ); Fri, 11 Mar 2011 04:22:01 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:59439 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038Ab1CKJWA (ORCPT ); Fri, 11 Mar 2011 04:22:00 -0500 Received: by mail-bw0-f46.google.com with SMTP id 15so2524372bwz.19 for ; Fri, 11 Mar 2011 01:22:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=gG1+lRcdbpOTHiHfBQwXNekpgQ3g2sKNdT2z7LlTORY=; b=iNlEp/Fcu+cRUsA6csYiyqIooBb30YkVX48Wa2igpbPL2r+5QIB3TOtA1nHB9NKTIg MHeEr8WZmzMt2A2Dq+t0ON9UCq7+ChH2LDyEb+st/qSWkmIP99x7d5G6UMjVwBooHsv1 HsDT5bViPEcwwLbrYHP0n3Jkafb8ntMYg5zNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=G7qLzbwkQPBsqigmtHwxntW8n02wxP7Nhoh4nG5KRYNwXmp+izppeQI4AO53KJOQ1R laGTzoWqWctw4BUujAOxGo4UFYY3mb+YPirl15PWF1Kst99J6Bcr9A3Bh4RjLZSpCgWe dT9uKFmikl33ObcmxKl20wSQQp4xUDR72qjbQ= Received: by 10.204.20.70 with SMTP id e6mr2890911bkb.145.1299835319983; Fri, 11 Mar 2011 01:21:59 -0800 (PST) Received: from localhost.localdomain ([86.57.155.118]) by mx.google.com with ESMTPS id k5sm1069647bku.16.2011.03.11.01.21.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2011 01:21:59 -0800 (PST) From: Vasily Khoruzhick To: "Russell King - ARM Linux" , Marek Vasut , linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Eric Miao , Sascha Hauer Cc: Vasily Khoruzhick Subject: [PATCH 3/4] ARM: PXA: PXAFB: Fix typo in ypos assignment Date: Fri, 11 Mar 2011 11:20:49 +0200 Message-Id: <1299835250-11095-3-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1299835250-11095-1-git-send-email-anarsoul@gmail.com> References: <201103060030.59584.anarsoul@gmail.com> <1299835250-11095-1-git-send-email-anarsoul@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 11 Mar 2011 09:22:01 +0000 (UTC) diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index e2f643e..a3bdcc1 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -761,7 +761,7 @@ static int overlayfb_check_var(struct fb_var_screeninfo *var, int xpos, ypos, pfor, bpp; xpos = NONSTD_TO_XPOS(var->nonstd); - ypos = NONSTD_TO_XPOS(var->nonstd); + ypos = NONSTD_TO_YPOS(var->nonstd); pfor = NONSTD_TO_PFOR(var->nonstd); bpp = pxafb_var_to_bpp(var); @@ -842,7 +842,7 @@ static int overlayfb_set_par(struct fb_info *info) bpp = pxafb_var_to_bpp(var); xpos = NONSTD_TO_XPOS(var->nonstd); - ypos = NONSTD_TO_XPOS(var->nonstd); + ypos = NONSTD_TO_YPOS(var->nonstd); pfor = NONSTD_TO_PFOR(var->nonstd); ofb->control[0] = OVLxC1_PPL(var->xres) | OVLxC1_LPO(var->yres) |