]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: mxs-phy: re-init phy during the connection is useless
authorPeter Chen <peter.chen@freescale.com>
Fri, 9 Nov 2012 01:44:42 +0000 (09:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:44:51 +0000 (17:44 -0800)
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>
drivers/usb/otg/mxs-phy.c

index c1a67cb8e24483272a78834f934e112ccbac7d87..5b09f3339ded3abd55d401b6363486b99b193bf8 100644 (file)
@@ -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);