kernel_optimize_test/drivers/usb/misc
Sebastian Andrzej Siewior ee9a4ae7dc usb: usbtest: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2018-07-26 13:54:02 +03:00
..
sisusbvga treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
adutux.c USB: adutux: Add waiting in transfer abortion 2018-03-09 09:37:10 -08:00
appledisplay.c
chaoskey.c
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c
iowarrior.c
isight_firmware.c
Kconfig
ldusb.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
legousbtower.c
lvstest.c
Makefile
rio500_usb.h
rio500.c
trancevibrator.c
usb_u132.h
usb251xb.c
usb3503.c
usb4604.c
usblcd.c
usbsevseg.c
usbtest.c usb: usbtest: use irqsave() in USB's complete callback 2018-07-26 13:54:02 +03:00
uss720.c USB: misc: uss720: more vendor/product ID's 2018-03-20 12:27:34 +01:00
yurex.c USB: yurex: fix out-of-bounds uaccess in read handler 2018-07-06 17:21:34 +02:00