[alsa-devel] [ALSA patch] [PATCH] ALSA: pcm: fix lost wakeup event scenarios in snd_pcm_drain
Takashi Iwai
tiwai at suse.de
Mon Jul 29 19:07:25 CEST 2019
On Mon, 29 Jul 2019 17:10:36 +0200,
Adam Miartus wrote:
>
> From: Yuki Tsunashima <ytsunashima at jp.adit-jv.com>
>
> lost wakeup can occur after enabling irq, therefore put task
> into interruptible before enabling interrupts,
>
> without this change, task can be put to sleep and snd_pcm_drain
> will delay
>
> Signed-off-by: Yuki Tsunashima <ytsunashima at jp.adit-jv.com>
> Signed-off-by: Suresh Udipi <sudipi at jp.adit-jv.com>
> [ported from 4.9]
> Signed-off-by: Adam Miartus <amiartus at de.adit-jv.com>
Thanks, applied now.
Takashi
More information about the Alsa-devel
mailing list