Re: [PATCH 2/3] usb: phy: msm: switch over to writel()

2014-05-03 Thread Ivan T. Ivanov
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 ba...@ti.com

Reviewed-by: Ivan T. Ivanov iiva...@mm-sol.com

 ---
  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);


--
To unsubscribe from this list: send the line unsubscribe linux-arm-msm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 2/3] usb: phy: msm: switch over to writel()

2014-04-30 Thread Felipe Balbi
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 ba...@ti.com
---
 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);
-- 
2.0.0.rc1

--
To unsubscribe from this list: send the line unsubscribe linux-arm-msm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html