usb: remove redundant tdi_reset
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Wed, 17 Apr 2013 10:03:46 +0000 (18:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 17:01:22 +0000 (10:01 -0700)
We remove the redundant tdi_reset in ehci_setup since there
is already it in ehci_reset.
It was observed that the duplicated tdi_reset was causing
the PHY_CLK_VALID bit unstable.

Reported-by: Michael Braun <michael-dev@fami-braun.de>
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org> # 3.6+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hcd.c

index 2e0c2bd6495f8ddc3eb326fbe042c3a456c88a45..312fc10da3c7aade0225cd126f28e372f1906058 100644 (file)
@@ -673,9 +673,6 @@ int ehci_setup(struct usb_hcd *hcd)
        if (retval)
                return retval;
 
-       if (ehci_is_TDI(ehci))
-               tdi_reset(ehci);
-
        ehci_reset(ehci);
 
        return 0;