Message ID | 1493832958-12489-2-git-send-email-amit.pundir@linaro.org |
---|---|
State | New |
Headers | show |
Series | Security fixes picked from android security bulletins | expand |
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index dfc28542a007..693ab89cc9a2 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c @@ -1858,10 +1858,10 @@ void snd_pcm_period_elapsed(struct snd_pcm_substream *substream) if (substream->timer_running) snd_timer_interrupt(substream->timer, 1); _end: + kill_fasync(&runtime->fasync, SIGIO, POLL_IN); snd_pcm_stream_unlock_irqrestore(substream, flags); if (runtime->transfer_ack_end) runtime->transfer_ack_end(substream); - kill_fasync(&runtime->fasync, SIGIO, POLL_IN); } EXPORT_SYMBOL(snd_pcm_period_elapsed);