Re: [PATCH] ALSA: pcm: Hide local_irq_disable/enable() and local_irqsave/restore()
From: Takashi Iwai
Date: Fri May 04 2018 - 12:57:47 EST
On Fri, 04 May 2018 17:28:10 +0200,
Sebastian Andrzej Siewior wrote:
>
> From: Anna-Maria Gleixner <anna-maria@xxxxxxxxxxxxx>
>
> 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: Anna-Maria Gleixner <anna-maria@xxxxxxxxxxxxx>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Applied, thanks.
Takashi