2008-01-07 03:28:07 +08:00
|
|
|
Index: linux-2.4.35.4/drivers/usb/host/ehci-q.c
|
|
|
|
===================================================================
|
2008-05-19 21:44:11 +08:00
|
|
|
--- linux-2.4.35.4.orig/drivers/usb/host/ehci-q.c
|
|
|
|
+++ linux-2.4.35.4/drivers/usb/host/ehci-q.c
|
|
|
|
@@ -782,6 +782,11 @@ static void qh_link_async (struct ehci_h
|
2005-08-31 06:40:51 +08:00
|
|
|
if (!(cmd & CMD_ASE)) {
|
|
|
|
/* in case a clear of CMD_ASE didn't take yet */
|
|
|
|
(void) handshake (&ehci->regs->status, STS_ASS, 0, 150);
|
|
|
|
+
|
|
|
|
+ /* force async head to be valid */
|
|
|
|
+ writel ((u32)ehci->async->qh_dma,
|
|
|
|
+ &ehci->regs->async_next);
|
|
|
|
+
|
|
|
|
cmd |= CMD_ASE | CMD_RUN;
|
|
|
|
writel (cmd, &ehci->regs->command);
|
|
|
|
ehci->hcd.state = USB_STATE_RUNNING;
|