diff options
author | Yuki Tsunashima <ytsunashima@jp.adit-jv.com> | 2019-07-29 17:10:36 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-07-29 19:05:42 +0200 |
commit | 37151a41df800493cfcbbef4f7208ffe04feb959 (patch) | |
tree | 8cd5c7dde9e5f8378a4cceff7015c00e155675f6 /sound/usb/helper.c | |
parent | ALSA: hda: Fix 1-minute detection delay when i915 module is not available (diff) | |
download | linux-37151a41df800493cfcbbef4f7208ffe04feb959.tar.xz linux-37151a41df800493cfcbbef4f7208ffe04feb959.zip |
ALSA: pcm: fix lost wakeup event scenarios in snd_pcm_drain
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
Fixes: f2b3614cefb6 ("ALSA: PCM - Don't check DMA time-out too shortly")
Signed-off-by: Yuki Tsunashima <ytsunashima@jp.adit-jv.com>
Signed-off-by: Suresh Udipi <sudipi@jp.adit-jv.com>
[ported from 4.9]
Signed-off-by: Adam Miartus <amiartus@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/helper.c')
0 files changed, 0 insertions, 0 deletions