From patchwork Mon May 27 08:19:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Niebel X-Patchwork-Id: 2617921 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 464773FD4E for ; Mon, 27 May 2013 08:16:13 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ugsas-0005Mc-Cm; Mon, 27 May 2013 08:15:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ugsaj-0000cE-Sw; Mon, 27 May 2013 08:15:41 +0000 Received: from smtprelay01.ispgateway.de ([80.67.18.43]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UgsaY-0000Zx-UB for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2013 08:15:32 +0000 Received: from [89.246.71.91] (helo=mail6.tqsc.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Ugsa8-00024T-IG; Mon, 27 May 2013 10:15:04 +0200 Received: from sc1006092vm.tqsc.de ([192.168.80.77] helo=ubuntu.tqsc.de) by mail6.tqsc.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ugsa8-0007iI-5y; Mon, 27 May 2013 10:15:04 +0200 From: Markus Niebel To: linux-arm-kernel@lists.infradead.org Subject: [PATCH RESEND v2 2/3] staging: drm/imx: fix spelling error for vsync flag config Date: Mon, 27 May 2013 10:19:10 +0200 Message-Id: <1369642751-15555-3-git-send-email-list-09_linux_arm@tqsc.de> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369642751-15555-1-git-send-email-list-09_linux_arm@tqsc.de> References: <1369642751-15555-1-git-send-email-list-09_linux_arm@tqsc.de> X-Df-Sender: MTQ1NzgzNQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130527_041531_104161_8E1773D1 X-CRM114-Status: GOOD ( 10.01 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.67.18.43 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: p-zabel@pengutronix.de, Markus Niebel , rpimentel.silva@gmail.com, festevam@gmail.com, gregkh@linuxfoundation.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Markus Niebel partial fix of changes from "staging: drm/imx: Add support for VGA via TVE on i.MX53" Have to check for vsync_pin instead of hsync_pin to set Vsync_pol. Signed-off-by: Markus Niebel Acked-by: Philipp Zabel Tested-by: Philipp Zabel Tested-by: Rogerio Pimentel --- Resend: - add Tested-by for Philip and Rogerio V2: - no changes in patch - add Acked-by from v1 of patch drivers/staging/imx-drm/ipu-v3/ipu-di.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-di.c b/drivers/staging/imx-drm/ipu-v3/ipu-di.c index 19d777e..e7b9c98 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-di.c +++ b/drivers/staging/imx-drm/ipu-v3/ipu-di.c @@ -614,11 +614,11 @@ int ipu_di_init_sync_panel(struct ipu_di *di, struct ipu_di_signal_cfg *sig) di_gen |= DI_GEN_POLARITY_7; } if (sig->Vsync_pol) { - if (sig->hsync_pin == 3) + if (sig->vsync_pin == 3) di_gen |= DI_GEN_POLARITY_3; - else if (sig->hsync_pin == 6) + else if (sig->vsync_pin == 6) di_gen |= DI_GEN_POLARITY_6; - else if (sig->hsync_pin == 8) + else if (sig->vsync_pin == 8) di_gen |= DI_GEN_POLARITY_8; } }