summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-20 22:36:48 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-06-27 19:12:43 +0300
commit81454b8405f24df8b24984698d62c5f560d01fe3 (patch)
tree00689c5c2f679aed00eb7978d265296d8a5c9b64 /scripts/gdb/linux/utils.py
parenta3128feef6d516fecc33b6299266a4673454815f (diff)
downloadlinux-81454b8405f24df8b24984698d62c5f560d01fe3.tar.xz
zd1211rw: 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: Daniel Drake <dsd@gentoo.org> Cc: Ulrich Kunitz <kune@deine-taler.de> Cc: Kalle Valo <kvalo@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-wireless@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions