From patchwork Sun Feb 20 15:02:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 575801 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 p1KF3LJP022214 for ; Sun, 20 Feb 2011 15:04:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753920Ab1BTPDZ (ORCPT ); Sun, 20 Feb 2011 10:03:25 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:62382 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753908Ab1BTPDY (ORCPT ); Sun, 20 Feb 2011 10:03:24 -0500 Received: by mail-bw0-f46.google.com with SMTP id 15so433464bwz.19 for ; Sun, 20 Feb 2011 07:03:24 -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=1MGx0G8KzQhcG5RQkLt0r9l+KBpVlz6qgeH6c5N9W9A=; b=Wir9tGW5L5fHHtNkthwoK0AnL3T6kSXS9p4v9ZYz9zStHrEXh9n/6q6fi3HF5+hVfS cpG+kvhJkrb0DNNEZyioJe5VmabkLuIN5ZuaPkzR0dmYGq2cqhekkoqjdLMo9pFDlek4 qTFD3aJYTgqROPbeDSFlZHIWTNv0JUkBQrzoc= 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=bEKzhZ/mUOpUjsvsh8mVgn4bUWBq+kjfWPsncSzlH7RLvpxDmKCYRwk4jqrTZmasqX 4fuy+omLuDF+iKGI0RkmipFzGRwcMB3FW1Dn/xwi9qDkgTunteSgdNHi7zi4z2WCq+V3 K1IH9c0rAe7MKmaztm6hKw5QxFZGOHbYsAjis= Received: by 10.204.124.20 with SMTP id s20mr384068bkr.194.1298214204030; Sun, 20 Feb 2011 07:03:24 -0800 (PST) Received: from localhost.localdomain ([80.249.93.202]) by mx.google.com with ESMTPS id b6sm3025835bkb.10.2011.02.20.07.03.21 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Feb 2011 07:03:23 -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 v2 3/3] ARM: PXA: PXAFB: Fix typo in ypos assignment Date: Sun, 20 Feb 2011 17:02:27 +0200 Message-Id: <1298214147-11578-3-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1298214147-11578-1-git-send-email-anarsoul@gmail.com> References: <20110217110321.GF24627@n2100.arm.linux.org.uk> <1298214147-11578-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]); Sun, 20 Feb 2011 15:04:01 +0000 (UTC) diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 54a9ab8..80ea7e6 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -766,7 +766,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); @@ -864,7 +864,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) |