Commit fb610638 authored by David Mosberger's avatar David Mosberger Committed by Todd Kjos
Browse files

drivers: usb: core: Minimize irq disabling in usb_sg_cancel()



commit 5f2e5fb8 upstream.

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

Suggested-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarDavid Mosberger <davidm@egauge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 417fd5ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment