All pastes #20850 Raw Edit

Unnamed

public text v1 · immutable
#20850 ·published 2005-08-23 11:29 UTC
rendered paste body
@@ -783,6 +765,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;