drivers: usb: core: Minimize irq disabling in usb_sg_cancel()
authorDavid Mosberger <davidm@egauge.net>
Tue, 8 Mar 2016 21:42:49 +0000 (14:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2016 22:21:41 +0000 (15:21 -0700)
commit5f2e5fb873e269fcb806165715d237f0de4ecf1d
tree4ebd0485b27e62831882f5e68cd1beae98edcc35
parent98b74b0ee57af1bcb6e8b2e76e707a71c5ef8ec9
drivers: usb: core: Minimize irq disabling in usb_sg_cancel()

Restructure usb_sg_cancel() so we don't have to disable interrupts
while cancelling the URBs.

Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/message.c