Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752319AbcLFA1i (ORCPT ); Mon, 5 Dec 2016 19:27:38 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:42311 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751411AbcLFA1g (ORCPT ); Mon, 5 Dec 2016 19:27:36 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee61b-f796f6d000004092-d2-58460575e559 Content-transfer-encoding: 8BIT Message-id: <58460575.8030008@samsung.com> Date: Tue, 06 Dec 2016 09:25:25 +0900 From: Chanwoo Choi Organization: Samsung Electronics User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: balbi@kernel.org, gregkh@linuxfoundation.org, kishon@ti.com, sre@kernel.org Cc: Peter.Chen@nxp.com, wens@csie.org, yoshihiro.shimoda.uh@renesas.com, maxime.ripard@free-electrons.com, b-liu@ti.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, chanwoo@kernel.org Subject: Re: [PATCH 01/12] phy: rcar-gen3-usb2: Replace the deprecated extcon API References: <1480485460-2663-1-git-send-email-cw00.choi@samsung.com> <1480485460-2663-2-git-send-email-cw00.choi@samsung.com> In-reply-to: <1480485460-2663-2-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPIsWRmVeSWpSXmKPExsVy+t9jQd1SVrcIg3nfNCz+31nEanGs7Qm7 xcQbV1gsmhevZ7O48LSHzWLT42usFpd3zWGzmL2kn8Xic+8RRoutL98xWSxa1spssXXTXmaL P/fusFqc3l1i8fPQeSaLr3s/szkIeGx4tJrV48mmi4wem1Z1snnsn7uG3WPzknqPje92MHl8 OzORxeP4je1MHp83yQVwRrnZZKQmpqQWKaTmJeenZOal2yqFhrjpWigp5CXmptoqRej6hgQp KZQl5pQCeUYGaMDBOcA9WEnfLsEt48q9i0wFO7gqDne9Zm1gvM/RxcjJISFgIrFz02pWCFtM 4sK99WxdjFwcQgKzGCUaf85lAknwCghK/Jh8j6WLkYODWUBe4silbJAws4C6xKR5i5gh6h8w ShxZ3scMUa8l8fjGXhYQm0VAVWLG3yZ2EJsNKL7/xQ02EJtfQFHi6o/HjCAzRQUiJLpPVIKE RQT8JXY0zmEBmckscJpJYuKRPrB6YYFgibv93awQyy4zSjx81sMIkuAUcJV49+AY6wRGwVlI bp2FcOssJLcuYGRexSiRWpBcUJyUnmuUl1quV5yYW1yal66XnJ+7iREc+c+kdzAe3uV+iFGA g1GJh9ej2TVCiDWxrLgy9xCjBAezkggv/y+gEG9KYmVValF+fFFpTmrxIUZToGcnMkuJJucD k1JeSbyhibmJubGBhbmlpYmRkjhv4+xn4UIC6YklqdmpqQWpRTB9TBycUg2MQdkPFlxcdJK7 01h6l++vGXNOT47dM3nG1UbFA/+FTNvY5ni4xvzQ+PNzk+75LJGK4u0dmnPOx1/rfH1iiUbQ P5ltNf/YWqMrO03/Xgr88+FAS9OkSR2/G+uY5r+z3NR6jmXV942v/6UtvZ296cdT99dJon9P 83LN+rIv9q7Ol5JLHfLezgfmTVNiKc5INNRiLipOBAACcQVSEgMAAA== X-MTR: 20000000000000000@CPGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1297 Lines: 37 Hi Kishon, Could you review and pick the patch1/2 for phy driver? Best Regards, Chanwoo Choi On 2016년 11월 30일 14:57, Chanwoo Choi wrote: > This patch replaces the deprecated extcon API as following: > - extcon_set_cable_state_() -> extcon_set_state_sync() > > Signed-off-by: Chanwoo Choi > --- > drivers/phy/phy-rcar-gen3-usb2.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/phy/phy-rcar-gen3-usb2.c b/drivers/phy/phy-rcar-gen3-usb2.c > index bd2430d7339c..7f8081f157f4 100644 > --- a/drivers/phy/phy-rcar-gen3-usb2.c > +++ b/drivers/phy/phy-rcar-gen3-usb2.c > @@ -93,11 +93,11 @@ static void rcar_gen3_phy_usb2_work(struct work_struct *work) > work); > > if (ch->extcon_host) { > - extcon_set_cable_state_(ch->extcon, EXTCON_USB_HOST, true); > - extcon_set_cable_state_(ch->extcon, EXTCON_USB, false); > + extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); > + extcon_set_state_sync(ch->extcon, EXTCON_USB, false); > } else { > - extcon_set_cable_state_(ch->extcon, EXTCON_USB_HOST, false); > - extcon_set_cable_state_(ch->extcon, EXTCON_USB, true); > + extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); > + extcon_set_state_sync(ch->extcon, EXTCON_USB, true); > } > } > >