Skip to content

Commit

Permalink
usb: mxs-phy: re-init phy during the connection is useless
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Chen authored and gregkh committed Nov 16, 2012
1 parent ff84f0e commit 0e1a024
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/otg/mxs-phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0e1a024

Please sign in to comment.