From patchwork Wed Oct 16 17:03:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 3054811 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B3212BF924 for ; Wed, 16 Oct 2013 17:18:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27F7F2045A for ; Wed, 16 Oct 2013 17:18:49 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D64B20460 for ; Wed, 16 Oct 2013 17:18:47 +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 1VWUXO-0004mr-3p; Wed, 16 Oct 2013 17:05:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VWUWj-0007OD-7A; Wed, 16 Oct 2013 17:04:53 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VWUWB-0007IO-KN for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2013 17:04:21 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUR00KNPU2J5J70@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2013 02:03:55 +0900 (KST) X-AuditID: cbfee61b-b7f776d0000016c8-55-525ec6fbae6b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 92.E0.05832.BF6CE525; Thu, 17 Oct 2013 02:03:55 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MUR0096XU2CQE60@mmp2.samsung.com>; Thu, 17 Oct 2013 02:03:55 +0900 (KST) From: Sylwester Nawrocki To: kishon@ti.com Subject: [PATCH] phy: exynos-mipi-video: Fix phy_power_off() callback Date: Wed, 16 Oct 2013 19:03:45 +0200 Message-id: <1381943025-1036-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1381940896-9355-1-git-send-email-kishon@ti.com> References: <1381940896-9355-1-git-send-email-kishon@ti.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjluLIzCtJLcpLzFFi42I5/e+xoO7vY3FBBoue8ls0L17PZnHhaQ+b xabH11gtZpzfx2Rx+E07qwOrx/65a9g9Ni+p9+jbsorR4/iN7UwenzfJBbBGcdmkpOZklqUW 6dslcGW8/faNuaCbs+JD0zzWBsY77F2MnBwSAiYSK++/g7LFJC7cW8/WxcjFISQwnVHi68EZ TBBOB5PEqk+XWUCq2AQMJXqP9jF2MXJwiAgISnz6xAhSwywwjVFi5sV9YJOEBVwlXp39wgxi swioSrStncIMUs8LFP87RRHElBBQkJgzyQakglPAVqJv5nmwiUICNhJ3FrBMYORdwMiwilE0 tSC5oDgpPddIrzgxt7g0L10vOT93EyM4dJ5J72Bc1WBxiFGAg1GJh3fG8rggIdbEsuLK3EOM EhzMSiK8n7YChXhTEiurUovy44tKc1KLDzFKc7AoifMebLUOFBJITyxJzU5NLUgtgskycXBK NTAu2jYh5PB/VVXFqR4/Gycx3+ww/nrv0fZZwZcssuca1axlMnscdVhsJpd6fsai3fszrsU+ eHBKrOfLwY8PGdm/vemctTs2KOruVLfji8u7ut9Wa90J5AqoLwivdmVhOMHXVc2brXrr28xb +++xb/8SseTaKzY92XaBNcsu8LSfYbKbI6eW31SnxFKckWioxVxUnAgA1sHdRxkCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131016_130419_922551_F2D5739E X-CRM114-Status: GOOD ( 10.55 ) X-Spam-Score: -7.4 (-------) Cc: gregkh@linuxfoundation.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.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 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix argument passed to the register setup helper function so the phy is actually disabled. Now due to cut&paste error 1 is passed to both phy_power_on() and phy_power_off(). Reported by: Kyungmin Park Signed-off-by: Sylwester Nawrocki Reviewed-by: Jingoo Han Acked-by: Kishon Vijay Abraham I --- This fixes a cut&paste typo which snicked in while doing very last adaptation to latest version of the phy framework. Thanks, Sylwester --- drivers/phy/phy-exynos-mipi-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/phy-exynos-mipi-video.c b/drivers/phy/phy-exynos-mipi-video.c index b73b86a..0c5efab 100644 --- a/drivers/phy/phy-exynos-mipi-video.c +++ b/drivers/phy/phy-exynos-mipi-video.c @@ -93,7 +93,7 @@ static int exynos_mipi_video_phy_power_off(struct phy *phy) struct video_phy_desc *phy_desc = phy_get_drvdata(phy); struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); - return __set_phy_state(state, phy_desc->index, 1); + return __set_phy_state(state, phy_desc->index, 0); } static struct phy *exynos_mipi_video_phy_xlate(struct device *dev,