linux-stable/drivers/media/usb/em28xx
Sebastian Andrzej Siewior 273925c777 media: em28xx-audio: 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: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-10 19:35:46 +02:00
..
em28xx-audio.c media: em28xx-audio: use irqsave() in USB's complete callback 2018-09-10 19:35:46 +02:00
em28xx-camera.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-cards.c media: usb: em28xx: Replace mdelay() with msleep() in em28xx_pre_card_setup() 2018-08-02 19:15:53 -04:00
em28xx-core.c media: em28xx-audio: use irqsave() in USB's complete callback 2018-09-10 19:35:46 +02:00
em28xx-dvb.c media: em28xx: Fix dual transport stream operation 2018-07-27 06:39:57 -04:00
em28xx-i2c.c media: em28xx: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
em28xx-input.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-reg.h media: em28xx-reg.h: Fix coding style issues 2018-03-06 05:54:52 -05:00
em28xx-v4l.h media: update/fix my e-mail on some places 2018-05-10 07:27:15 -04:00
em28xx-vbi.c media: em28xx: Add SPDX license tags where needed 2018-03-06 05:54:52 -05:00
em28xx-video.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx.h Linux 4.17-rc4 2018-05-10 07:19:23 -04:00
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00