linux/drivers/media/usb/go7007
Sebastian Andrzej Siewior a4733b5248 media: go7007: 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 13:50:14 -04:00
..
go7007-driver.c media: go7007: use irqsave() in USB's complete callback 2018-08-02 13:50:14 -04:00
go7007-fw.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
go7007-i2c.c
go7007-loader.c
go7007-priv.h
go7007-usb.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
go7007-v4l2.c media: go7007: fix two sparse warnings 2018-05-25 15:30:04 -04: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
s2250-board.c
snd-go7007.c media: go7007: use irqsave() in USB's complete callback 2018-08-02 13:50:14 -04:00