aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorYuki Tsunashima <[email protected]>2019-07-29 17:10:36 +0200
committerTakashi Iwai <[email protected]>2019-07-29 19:05:42 +0200
commit37151a41df800493cfcbbef4f7208ffe04feb959 (patch)
tree8cd5c7dde9e5f8378a4cceff7015c00e155675f6 /lib/test_overflow.c
parent74bf71ed792ab0f64631cc65ccdb54c356c36d45 (diff)
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 <[email protected]> Signed-off-by: Suresh Udipi <[email protected]> [ported from 4.9] Signed-off-by: Adam Miartus <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions