linux-xiaomi-chiron/drivers/usb/core
Sebastian Andrzej Siewior 3f38dace1a usb: usbfs: 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.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-28 19:36:06 +09:00
..
buffer.c
config.c
devices.c
devio.c usb: usbfs: use irqsave() in USB's complete callback 2018-06-28 19:36:06 +09:00
driver.c
endpoint.c
file.c
generic.c
hcd-pci.c
hcd.c
hub.c USB: Report wakeup events on root-hub ports 2018-06-25 21:44:43 +08:00
hub.h
Kconfig
ledtrig-usbport.c
Makefile
message.c usb: core: use irqsave() in sg_complete() complete callback 2018-06-28 19:36:06 +09:00
notify.c
of.c
otg_whitelist.h
phy.c
phy.h
port.c
quirks.c
sysfs.c
urb.c
usb-acpi.c
usb.c USB: core: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
usb.h