Skip to content

Commit

Permalink
[ALSA] ak4114: removed duplicate wake_up()
Browse files Browse the repository at this point in the history
AK4114 receiver
- wake_up(&runtime->sleep) is already called in snd_pcm_post_stop()

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Jaroslav Kysela committed Jul 28, 2005
1 parent 41c018b commit 145794d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/i2c/other/ak4114.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 145794d

Please sign in to comment.