summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-11-09 02:44:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-16 02:44:51 +0100
commit0e1a024d1a16ae1b3d01495d3bcd34f285724e7e (patch)
tree3e0d79877c3931a88c845a15795499ed015a637b /drivers/usb/otg
parentRevert "usb: otg: mxs-phy: Fix mx23 operation" (diff)
downloadlinux-0e1a024d1a16ae1b3d01495d3bcd34f285724e7e.tar.xz
linux-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 'drivers/usb/otg')
-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);