aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-19 23:56:57 +0200
committerMarcel Holtmann <marcel@holtmann.org>2018-07-06 12:36:21 +0200
commita5e50d5b127562f3eef5438f84b1066eeda4d7c6 (patch)
tree6355e42e85e3da80dcb69481ae47809c29098217 /include/net
parentBluetooth: Add a new Realtek 8723DE ID 0bda:b009 (diff)
downloadlinux-dev-a5e50d5b127562f3eef5438f84b1066eeda4d7c6.tar.xz
linux-dev-a5e50d5b127562f3eef5438f84b1066eeda4d7c6.zip
Bluetooth: btusb: use irqsave() in URB'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: Marcel Holtmann <marcel@holtmann.org> Cc: Johan Hedberg <johan.hedberg@gmail.com> Cc: linux-bluetooth@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions