diff options
author | Felipe Balbi <balbi@ti.com> | 2014-04-30 11:35:22 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-05-12 12:34:45 -0500 |
commit | 245974908c2ee8cd907856e6964f59fd8807e1e1 (patch) | |
tree | bb354b2bd2a8ce45024434875b01f4acbb1e78da /drivers/usb/phy/phy-msm-usb.c | |
parent | b3025e6ada454848b6ae2d3bcd925738384517df (diff) | |
download | op-kernel-dev-245974908c2ee8cd907856e6964f59fd8807e1e1.zip op-kernel-dev-245974908c2ee8cd907856e6964f59fd8807e1e1.tar.gz |
usb: phy: msm: switch over to writel()
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.
Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-msm-usb.c')
-rw-r--r-- | drivers/usb/phy/phy-msm-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c index 591b406..c522c4f 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); |