diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-06-24 13:26:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:21 -0400 |
commit | 831baa4915de465357b25c471bbb9b36472024df (patch) | |
tree | b28e8365e77defb84ba1437993b64be753274ead /drivers/usb/host/whci/whci-hc.h | |
parent | 586dfc8cafc25cf785332fdfe9530f392e26f30d (diff) |
USB: whci-hcd: make endpoint_reset method async
usb_hcd_endpoint_reset() may be called in atomic context and must not
sleep. So make whci-hcd's endpoint_reset() asynchronous. URBs
submitted while the reset is in progress will be queued (on the std
list) and transfers will resume once the reset is complete.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/whci/whci-hc.h')
-rw-r--r-- | drivers/usb/host/whci/whci-hc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/whci/whci-hc.h b/drivers/usb/host/whci/whci-hc.h index 794dba0d0f0a..e8d0001605be 100644 --- a/drivers/usb/host/whci/whci-hc.h +++ b/drivers/usb/host/whci/whci-hc.h | |||
@@ -264,6 +264,7 @@ struct whc_qset { | |||
264 | unsigned in_sw_list:1; | 264 | unsigned in_sw_list:1; |
265 | unsigned in_hw_list:1; | 265 | unsigned in_hw_list:1; |
266 | unsigned remove:1; | 266 | unsigned remove:1; |
267 | unsigned reset:1; | ||
267 | struct urb *pause_after_urb; | 268 | struct urb *pause_after_urb; |
268 | struct completion remove_complete; | 269 | struct completion remove_complete; |
269 | int max_burst; | 270 | int max_burst; |