提交 145794dc 编写于 作者: J Jaroslav Kysela

[ALSA] ak4114: removed duplicate wake_up()

AK4114 receiver
- wake_up(&runtime->sleep) is already called in snd_pcm_post_stop()
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 41c018b7
......@@ -554,7 +554,6 @@ int snd_ak4114_check_rate_and_errors(ak4114_t *ak4114, unsigned int flags)
if (snd_pcm_running(ak4114->capture_substream)) {
// printk("rate changed (%i <- %i)\n", runtime->rate, res);
snd_pcm_stop(ak4114->capture_substream, SNDRV_PCM_STATE_DRAINING);
wake_up(&runtime->sleep);
res = 1;
}
snd_pcm_stream_unlock_irqrestore(ak4114->capture_substream, _flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册