aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/mxs-phy.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-11-09 09:44:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-15 17:44:51 -0800
commit0e1a024d1a16ae1b3d01495d3bcd34f285724e7e (patch)
tree3e0d79877c3931a88c845a15795499ed015a637b /drivers/usb/otg/mxs-phy.c
parentRevert "usb: otg: mxs-phy: Fix mx23 operation" (diff)
downloadlinux-dev-0e1a024d1a16ae1b3d01495d3bcd34f285724e7e.tar.xz
linux-dev-0e1a024d1a16ae1b3d01495d3bcd34f285724e7e.zip
usb: mxs-phy: re-init phy during the connection is useless
As phy is working, re-init phy may cause unexpected results Signed-off-by: Peter Chen <peter.chen@freescale.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/usb/otg/mxs-phy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c
index c1a67cb8e244..5b09f3339ded 100644
--- a/drivers/usb/otg/mxs-phy.c
+++ b/drivers/usb/otg/mxs-phy.c
@@ -80,7 +80,6 @@ static int mxs_phy_on_connect(struct usb_phy *phy, int port)
{
dev_dbg(phy->dev, "Connect on port %d\n", port);
- mxs_phy_hw_init(to_mxs_phy(phy));
writel_relaxed(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
phy->io_priv + HW_USBPHY_CTRL_SET);