summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-11-09 01:44:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-16 01:44:51 (GMT)
commit0e1a024d1a16ae1b3d01495d3bcd34f285724e7e (patch)
tree3e0d79877c3931a88c845a15795499ed015a637b /drivers/usb
parentff84f0e9f70cde6de1ba7c7f6156c8c3c98af383 (diff)
downloadlinux-0e1a024d1a16ae1b3d01495d3bcd34f285724e7e.tar.xz
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')
-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 c1a67cb..5b09f33 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);