From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ivan T. Ivanov" Subject: Re: [PATCH 2/3] usb: phy: msm: switch over to writel() Date: Sat, 03 May 2014 09:58:45 +0300 Message-ID: <1399100325.7131.3.camel@violet> References: <1398875916-14461-1-git-send-email-balbi@ti.com> <1398875916-14461-2-git-send-email-balbi@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from ns.mm-sol.com ([37.157.136.199]:44859 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbaECG6s (ORCPT ); Sat, 3 May 2014 02:58:48 -0400 In-Reply-To: <1398875916-14461-2-git-send-email-balbi@ti.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Felipe Balbi Cc: tim.bird@sonymobile.com, linux-arm-msm@vger.kernel.org, Linux USB Mailing List On Wed, 2014-04-30 at 11:38 -0500, Felipe Balbi wrote: > Remove that single instance of writel_relaxed() > call which is only available on ARM architecture. > > This will let us build test this driver on all > different architectures. > > Signed-off-by: Felipe Balbi Reviewed-by: Ivan T. Ivanov > --- > drivers/usb/phy/phy-msm-usb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c > index c9963c8..13b59ad 100644 > --- a/drivers/usb/phy/phy-msm-usb.c > +++ b/drivers/usb/phy/phy-msm-usb.c > @@ -1600,7 +1600,7 @@ static int msm_otg_probe(struct platform_device *pdev) > if (IS_ERR(phy_select)) > return PTR_ERR(phy_select); > /* Enable second PHY with the OTG port */ > - writel_relaxed(0x1, phy_select); > + writel(0x1, phy_select); > } > > dev_info(&pdev->dev, "OTG regs = %p\n", motg->regs);