summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/isp1760-hcd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c
index d2b674ace0be..c7c1e0aa0b8e 100644
--- a/drivers/usb/host/isp1760-hcd.c
+++ b/drivers/usb/host/isp1760-hcd.c
@@ -1624,14 +1624,14 @@ static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
ptd_write(hcd->regs, reg_base, i, &ptd);
- qtd = ints->qtd;
+ qtd = ints[i].qtd;
qh = ints[i].qh;
free_mem(hcd, qtd);
qtd = clean_up_qtdlist(qtd, qh);
- ints->qh = NULL;
- ints->qtd = NULL;
+ ints[i].qh = NULL;
+ ints[i].qtd = NULL;
isp1760_urb_done(hcd, urb);
if (qtd)
@@ -1655,7 +1655,6 @@ static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
if (!qtd)
break;
}
- ints++;
}
spin_unlock_irqrestore(&priv->lock, flags);