summaryrefslogtreecommitdiff
path: root/drivers/usb/misc/iowarrior.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-25 01:08:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 13:36:06 +0300
commit957ada71b69e6da4d8131b082c5d57558f7fa415 (patch)
tree93dfca2cd9d8e221cf2d121a975569d7ef232eb9 /drivers/usb/misc/iowarrior.c
parent7375fc9f5f162e783661ee9cdb85a62ec5f6b6d5 (diff)
downloadlinux-957ada71b69e6da4d8131b082c5d57558f7fa415.tar.xz
usb: adutux: use irqsave() in USB's complete callback
The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the callback handler to disable the interrupts while acquiring the lock. The callback may be invoked either in IRQ or BH context depending on the USB host controller. Use the _irqsave() variant of the locking primitives. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/iowarrior.c')
0 files changed, 0 insertions, 0 deletions