Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207945
b: refs/heads/master
c: ba297ed
h: refs/heads/master
i:
  207943: 77be838
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent d145dee commit 9582853
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: c548795abe0d3520b74e18f23ca0a0d72deddab9
refs/heads/master: ba297edde4dd7376832bafb23e032a40d5928b56
2 changes: 2 additions & 0 deletions trunk/drivers/usb/host/uhci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,9 @@ static int uhci_start(struct usb_hcd *hcd)

configure_hc(uhci);
uhci->is_initialized = 1;
spin_lock_irq(&uhci->lock);
start_rh(uhci);
spin_unlock_irq(&uhci->lock);
return 0;

/*
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/usb/host/uhci-q.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ static void uhci_unlink_qh(struct uhci_hcd *uhci, struct uhci_qh *qh)
qh->unlink_frame = uhci->frame_number;

/* Force an interrupt so we know when the QH is fully unlinked */
if (list_empty(&uhci->skel_unlink_qh->node))
if (list_empty(&uhci->skel_unlink_qh->node) || uhci->is_stopped)
uhci_set_next_interrupt(uhci);

/* Move the QH from its old list to the end of the unlinking list */
Expand Down Expand Up @@ -1667,7 +1667,7 @@ static int uhci_advance_check(struct uhci_hcd *uhci, struct uhci_qh *qh)
qh->advance_jiffies = jiffies;
goto done;
}
ret = 0;
ret = uhci->is_stopped;
}

/* The queue hasn't advanced; check for timeout */
Expand Down

0 comments on commit 9582853

Please sign in to comment.