[adm5120] image generation fixes (closes: #2643, #2644)
[openwrt.git] / target / linux / generic-2.4 / patches / 208-usb2_fix.patch
1 diff -ur linux-2.4.30.dev/drivers/usb/host/ehci-q.c linux-tmp/drivers/usb/host/ehci-q.c
2 --- linux-2.4.30.dev/drivers/usb/host/ehci-q.c 2005-01-19 15:10:07.000000000 +0100
3 +++ linux-tmp/drivers/usb/host/ehci-q.c 2005-03-30 05:11:12.000000000 +0200
4 @@ -783,6 +765,11 @@
5 if (!(cmd & CMD_ASE)) {
6 /* in case a clear of CMD_ASE didn't take yet */
7 (void) handshake (&ehci->regs->status, STS_ASS, 0, 150);
8 +
9 + /* force async head to be valid */
10 + writel ((u32)ehci->async->qh_dma,
11 + &ehci->regs->async_next);
12 +
13 cmd |= CMD_ASE | CMD_RUN;
14 writel (cmd, &ehci->regs->command);
15 ehci->hcd.state = USB_STATE_RUNNING;
This page took 0.042155 seconds and 5 git commands to generate.