diff options
author | Peter Chen <peter.chen@freescale.com> | 2012-11-08 20:44:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 20:44:51 -0500 |
commit | 0e1a024d1a16ae1b3d01495d3bcd34f285724e7e (patch) | |
tree | 3e0d79877c3931a88c845a15795499ed015a637b | |
parent | ff84f0e9f70cde6de1ba7c7f6156c8c3c98af383 (diff) |
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>
-rw-r--r-- | drivers/usb/otg/mxs-phy.c | 1 |
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) | |||
80 | { | 80 | { |
81 | dev_dbg(phy->dev, "Connect on port %d\n", port); | 81 | dev_dbg(phy->dev, "Connect on port %d\n", port); |
82 | 82 | ||
83 | mxs_phy_hw_init(to_mxs_phy(phy)); | ||
84 | writel_relaxed(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, | 83 | writel_relaxed(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, |
85 | phy->io_priv + HW_USBPHY_CTRL_SET); | 84 | phy->io_priv + HW_USBPHY_CTRL_SET); |
86 | 85 | ||