aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2005-06-20 04:42:44 -0400
committerJaroslav Kysela <perex@suse.cz>2005-07-28 06:09:18 -0400
commit145794dc09117b31b6730096558e52b673af7b84 (patch)
tree40e33b8dc4bf31c6b3fb64aa38d0a534061352cf
parent41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af (diff)
[ALSA] ak4114: removed duplicate wake_up()
AK4114 receiver - wake_up(&runtime->sleep) is already called in snd_pcm_post_stop() Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/i2c/other/ak4114.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4114.c b/sound/i2c/other/ak4114.c
index f5e6018ea3f..5adde308a00 100644
--- a/sound/i2c/other/ak4114.c
+++ b/sound/i2c/other/ak4114.c
@@ -554,7 +554,6 @@ int snd_ak4114_check_rate_and_errors(ak4114_t *ak4114, unsigned int flags)
554 if (snd_pcm_running(ak4114->capture_substream)) { 554 if (snd_pcm_running(ak4114->capture_substream)) {
555 // printk("rate changed (%i <- %i)\n", runtime->rate, res); 555 // printk("rate changed (%i <- %i)\n", runtime->rate, res);
556 snd_pcm_stop(ak4114->capture_substream, SNDRV_PCM_STATE_DRAINING); 556 snd_pcm_stop(ak4114->capture_substream, SNDRV_PCM_STATE_DRAINING);
557 wake_up(&runtime->sleep);
558 res = 1; 557 res = 1;
559 } 558 }
560 snd_pcm_stream_unlock_irqrestore(ak4114->capture_substream, _flags); 559 snd_pcm_stream_unlock_irqrestore(ak4114->capture_substream, _flags);