From: Shengzhou Liu Date: Wed, 17 Apr 2013 10:03:46 +0000 (+0800) Subject: usb: remove redundant tdi_reset X-Git-Tag: v3.8.12~77 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=67dedab551ec62b7796039c74f15b9c720218aab;p=users%2Fjedix%2Flinux-maple.git usb: remove redundant tdi_reset 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 Signed-off-by: Shengzhou Liu Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 416a6dce5e11c..83b5a1725924b 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -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;