summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-20 22:36:45 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-06-29 14:55:36 +0300
commit84a0d4669c8fdbe6e3e23937c5083af99a1946f2 (patch)
tree5889eecdd7ec07c3301a5e3f5192f9d4a7bb4365 /scripts/gdb
parentfe041deba4f6a857cd9d0c08a84b9f1709ede2b1 (diff)
downloadlinux-84a0d4669c8fdbe6e3e23937c5083af99a1946f2.tar.xz
ath9k: 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: QCA ath9k Development <ath9k-devel@qca.qualcomm.com> 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')
0 files changed, 0 insertions, 0 deletions