]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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, 8 May 2013 03:08:18 +0000 (20:08 -0700)
commit 61ac6ac8d662ac7ac67c864954d39d1b19948354 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hcd.c

index 416a6dce5e11c8adeeed2eef487b93c93dd5d728..83b5a1725924b919c01ed909e25414054192065b 100644 (file)
@@ -670,9 +670,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;