Skip to content
Commit 10aa7cad authored by Anna-Maria Gleixner's avatar Anna-Maria Gleixner Committed by Takashi Iwai
Browse files

ALSA: pcm: Hide local_irq_disable/enable() and local_irqsave/restore()



The snd_pcm_stream_lock_irq*() functions decouple disabling interrupts
from the actual locking process. This does not work as expected if the
locking primitives are replaced like on preempt-rt.

Provide one function for locking which uses correct locking primitives.

Signed-off-by: default avatarAnna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9ea19e7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment