1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 11:24:58 +02:00
openwrt-xburst/target/linux/generic-2.4/patches/208-usb2_fix.patch
2008-01-06 19:28:07 +00:00

17 lines
669 B
Diff

Index: linux-2.4.35.4/drivers/usb/host/ehci-q.c
===================================================================
--- linux-2.4.35.4.orig/drivers/usb/host/ehci-q.c 2007-12-15 05:19:39.114650056 +0100
+++ linux-2.4.35.4/drivers/usb/host/ehci-q.c 2007-12-15 05:20:00.107846389 +0100
@@ -782,6 +782,11 @@
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;