[ALSA] ak4114: removed duplicate wake_up()
authorJaroslav Kysela <perex@suse.cz>
Mon, 20 Jun 2005 08:42:44 +0000 (10:42 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 28 Jul 2005 10:09:18 +0000 (12:09 +0200)
AK4114 receiver
- wake_up(&runtime->sleep) is already called in snd_pcm_post_stop()

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/i2c/other/ak4114.c

index f5e6018ea3f472bc5338b0c3aafb7b66576a447a..5adde308a00fa252d180122b24e22fb867af6fb5 100644 (file)
@@ -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);