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)
commit831baa4915de465357b25c471bbb9b36472024df
treeb28e8365e77defb84ba1437993b64be753274ead
parent586dfc8cafc25cf785332fdfe9530f392e26f30d
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>
drivers/usb/host/whci/asl.c
drivers/usb/host/whci/hcd.c
drivers/usb/host/whci/pzl.c
drivers/usb/host/whci/qset.c
drivers/usb/host/whci/whci-hc.h