summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-07-01 18:35:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-06 17:36:19 +0300
commit6f3fde684d0232e66ada3410f016a58e09a87689 (patch)
treed87ab4aafc6496c0b7d8ebdf937dec79fa9a8e3b /drivers/uwb
parent399111aaa7b9b4a2f7f20d38943ab55b6a67653e (diff)
downloadlinux-6f3fde684d0232e66ada3410f016a58e09a87689.tar.xz
usb: usbtest: 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. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions