usb: remove redundant tdi_reset
authorShengzhou Liu <[email protected]>
Wed, 17 Apr 2013 10:03:46 +0000 (18:03 +0800)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Signed-off-by: Shengzhou Liu <[email protected]>
Acked-by: Alan Stern <[email protected]>
Cc: stable <[email protected]> # 3.6+
Signed-off-by: Greg Kroah-Hartman <[email protected]>
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;