[PATCH] ehci-hcd.c: handle EHCI_HAS_TT in ehci_reset() during startup
Antony Pavlov
antonynpavlov at gmail.com
Fri Sep 16 02:04:57 EDT 2011
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
drivers/usb/host/ehci-hcd.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 60fc181..bc180af 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -922,10 +922,7 @@ static int ehci_probe(struct device_d *dev)
host->submit_bulk_msg = submit_bulk_msg;
if (ehci->flags & EHCI_HAS_TT) {
- /* Set to host mode */
- reg = ehci_readl(ehci->hcor + USBMODE);
- reg |= USBMODE_CM_HC;
- writel(reg, ehci->hcor + USBMODE);
+ ehci_reset(ehci);
}
usb_register_host(host);
--
1.7.5.4
More information about the barebox
mailing list