kernel-fxtec-pro1x/drivers/nfc/nfcmrvl
Sebastian Andrzej Siewior 24b2068e26 NFC: nfcmrvl_usb: 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: Samuel Ortiz <sameo@linux.intel.com>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-28 19:36:07 +09:00
..
fw_dnld.c treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
fw_dnld.h
i2c.c nfc: nfcmrvl: constify i2c_device_id 2017-11-06 00:56:55 +01:00
Kconfig
main.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nfcmrvl.h
spi.c
uart.c
usb.c NFC: nfcmrvl_usb: use irqsave() in USB's complete callback 2018-06-28 19:36:07 +09:00