summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_debugfs.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-20 00:56:57 +0300
committerMarcel Holtmann <marcel@holtmann.org>2018-07-06 13:36:21 +0300
commita5e50d5b127562f3eef5438f84b1066eeda4d7c6 (patch)
tree6355e42e85e3da80dcb69481ae47809c29098217 /net/bluetooth/hci_debugfs.c
parent45ae68b8cfc25bdbffc11248001c47ab1b76ff6e (diff)
downloadlinux-a5e50d5b127562f3eef5438f84b1066eeda4d7c6.tar.xz
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 'net/bluetooth/hci_debugfs.c')
0 files changed, 0 insertions, 0 deletions