Skip to content

Commit

Permalink
usb: phy: msm: switch over to writel()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi committed May 12, 2014
1 parent b3025e6 commit 2459749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/phy/phy-msm-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2459749

Please sign in to comment.