Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86063
b: refs/heads/master
c: e1a4914
h: refs/heads/master
i:
  86061: 7c3cf39
  86059: a1fb657
  86055: 611038c
  86047: c03c4d5
v: v3
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Feb 21, 2008
1 parent 2cbc047 commit 73e64f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0cc5e2e7c3edd8b45775f50c74738d61b43ac5e8
refs/heads/master: e1a491429e7f9b6fb608d9f173e5807fba053d5b
24 changes: 12 additions & 12 deletions trunk/drivers/usb/host/ehci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,18 +862,18 @@ static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
/* reschedule QH iff another request is queued */
if (!list_empty (&qh->qtd_list)
&& HC_IS_RUNNING (hcd->state)) {
int schedule_status;

schedule_status = qh_schedule (ehci, qh);
spin_unlock_irqrestore (&ehci->lock, flags);

if (schedule_status != 0) {
// shouldn't happen often, but ...
// FIXME kill those tds' urbs
err ("can't reschedule qh %p, err %d",
qh, schedule_status);
}
return status;
rc = qh_schedule(ehci, qh);

/* An error here likely indicates handshake failure
* or no space left in the schedule. Neither fault
* should happen often ...
*
* FIXME kill the now-dysfunctional queued urbs
*/
if (rc != 0)
ehci_err(ehci,
"can't reschedule qh %p, err %d",
qh, rc);
}
break;

Expand Down

0 comments on commit 73e64f3

Please sign in to comment.