diff options
author | 2018-07-01 17:28:07 +0200 | |
---|---|---|
committer | 2018-07-02 15:51:54 +0200 | |
commit | 9b11233d8e2ca80afc6e16200b680c5daf051333 (patch) | |
tree | 437371bf01302659568a390dafac968479eee319 /.gitignore | |
parent | ALSA: snd-aoa: add of_node_put() in error path (diff) | |
download | linux-9b11233d8e2ca80afc6e16200b680c5daf051333.tar.gz linux-9b11233d8e2ca80afc6e16200b680c5daf051333.tar.bz2 linux-9b11233d8e2ca80afc6e16200b680c5daf051333.zip |
ALSA: usb: caiaq: 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.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions