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 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
go7007-loader.c
go7007-priv.h [media] go7007: constify go7007_hpi_ops structures 2016-02-01 07:34:07 -02:00
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 [media] go7007: add MEDIA_CAMERA_SUPPORT dependency 2016-11-23 13:15:02 -02:00
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 [media] Drop owner assignment from i2c_driver 2015-08-11 13:01:57 -03:00
snd-go7007.c media: go7007: use irqsave() in USB's complete callback 2018-08-02 13:50:14 -04:00