usb: phy: msm: switch over to writel()
authorFelipe Balbi <balbi@ti.com>
Wed, 30 Apr 2014 16:35:22 +0000 (11:35 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 May 2014 17:34:45 +0000 (12:34 -0500)
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>
drivers/usb/phy/phy-msm-usb.c

index 591b406fd7f7844696dd3690fbc8a6770a01f863..c522c4ff8084615c4a2cabfe8ce32d7e089db381 100644 (file)
@@ -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);