aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/uhci-q.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c
index 0c1b12091c4..5d2f9575ab4 100644
--- a/drivers/usb/host/uhci-q.c
+++ b/drivers/usb/host/uhci-q.c
@@ -259,7 +259,7 @@ static void uhci_fixup_toggles(struct uhci_qh *qh, int skip_first)
259 /* Fix up the toggle for the URBs in the queue. Normally this 259 /* Fix up the toggle for the URBs in the queue. Normally this
260 * loop won't run more than once: When an error or short transfer 260 * loop won't run more than once: When an error or short transfer
261 * occurs, the queue usually gets emptied. */ 261 * occurs, the queue usually gets emptied. */
262 list_prepare_entry(urbp, &qh->queue, node); 262 urbp = list_prepare_entry(urbp, &qh->queue, node);
263 list_for_each_entry_continue(urbp, &qh->queue, node) { 263 list_for_each_entry_continue(urbp, &qh->queue, node) {
264 264
265 /* If the first TD has the right toggle value, we don't 265 /* If the first TD has the right toggle value, we don't