linux/drivers/media/usb/usbtv
Sebastian Andrzej Siewior 320905baa1 media: usbtv: 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-02 14:17:15 -04:00
..
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile [media] usbtv: add audio support 2014-08-21 15:25:34 -05:00
usbtv-audio.c media: usbtv: use irqsave() in USB's complete callback 2018-08-02 14:17:15 -04:00
usbtv-core.c media: usbtv: Add USB ID 1f71:3306 to the UTV007 driver 2018-02-26 07:42:47 -05:00
usbtv-video.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
usbtv.h media: usbtv: Add SECAM support 2018-05-04 06:48:49 -04:00