From: Shengzhou Liu Date: Wed, 17 Apr 2013 10:03:46 +0000 (+0800) Subject: usb: remove redundant tdi_reset X-Git-Tag: firefly_0821_release~3680^2~672^2~40 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=61ac6ac8d662ac7ac67c864954d39d1b19948354;p=firefly-linux-kernel-4.4.55.git usb: remove redundant tdi_reset 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 Signed-off-by: Shengzhou Liu Acked-by: Alan Stern Cc: stable # 3.6+ Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 2e0c2bd6495f..312fc10da3c7 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -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;