2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 09:03:59 +08:00
linux-next/drivers/net/wireless/zydas/zd1211rw
Sebastian Andrzej Siewior 81454b8405 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>
2018-06-27 19:12:43 +03:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zd_chip.c zd1211rw: stop using deprecated get_seconds() 2018-06-27 19:10:21 +03:00
zd_chip.h
zd_def.h
zd_mac.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
zd_mac.h
zd_rf_al2230.c
zd_rf_al7230b.c
zd_rf_rf2959.c zd1211rw: fix spelling mistake 'hybernate' -> 'hibernate' 2017-07-28 18:02:41 +03:00
zd_rf_uw2453.c
zd_rf.c
zd_rf.h
zd_usb.c zd1211rw: use irqsave() in USB's complete callback 2018-06-27 19:12:43 +03:00
zd_usb.h