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: 3054761 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 34F379F2B6 for ; Wed, 16 Oct 2013 17:04:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDE2720421 for ; Wed, 16 Oct 2013 17:03:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B7D1C20357 for ; Wed, 16 Oct 2013 17:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761090Ab3JPRD5 (ORCPT ); Wed, 16 Oct 2013 13:03:57 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:24699 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760938Ab3JPRD4 (ORCPT ); Wed, 16 Oct 2013 13:03:56 -0400 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-samsung-soc@vger.kernel.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 Cc: gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki 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= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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,