summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-06-11 14:56:22 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-12 15:16:36 -0700
commita455212d19d312f6a99b3a4a86fb79fb91dd76c7 (patch)
treecfd1cf74b6e51623813be2ec65e42f3756598252 /mm
parent9525dcb30f5f412748f58a0537002ea47cfe55de (diff)
USB: EHCI: update toggle state for linked QHs
This is an update to the "usb-ehci-update-toggle-state-for-linked-qhs" patch. Since an HCD's endpoint_reset method can be called in interrupt context, it mustn't assume that interrupts are enabled or that it can sleep. So we revert to the original way of refreshing QHs' toggle bits. Now the endpoint_reset method merely clears the toggle flag in the device structure (as was done before) and starts an async QH unlink. When the QH is linked again, after the unlink finishes and an URB is queued, the qh_refresh() routine will update the QH's toggle bit. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: David <david@unsolicited.net> CC: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions