USB: whci-hcd: make endpoint_reset method async
authorDavid Vrabel <david.vrabel@csr.com>
Wed, 24 Jun 2009 17:26:40 +0000 (18:26 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:21 +0000 (06:46 -0700)
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>

No differences found