]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (6832): cx88-blackbird: don't mute audio when stopping the codec
authorMichael Krufky <mkrufky@linuxtv.org>
Sat, 13 Oct 2007 23:42:45 +0000 (20:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:49 +0000 (19:03 -0200)
We should not mute the audio input when we stop the codec,
because it will interfere with the live uncompressed stream.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Reviewed-by: Jelle Foks <jelle@foks.8m.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-blackbird.c

index 165c0fdd3d13aaa410370101815f6839a7036001..d83facf00dc6a795c9630a4e4b51faa9f2125db1 100644 (file)
@@ -627,15 +627,11 @@ static int blackbird_start_codec(struct file *file, void *priv)
 
 static int blackbird_stop_codec(struct cx8802_dev *dev)
 {
-       struct cx88_core *core = dev->core;
-
        blackbird_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE, 3, 0,
                        BLACKBIRD_END_NOW,
                        BLACKBIRD_MPEG_CAPTURE,
                        BLACKBIRD_RAW_BITS_NONE
                );
-       /* mute audio source */
-       cx_set(AUD_VOL_CTL, (1 << 6));
 
        dev->mpeg_active = 0;
        return 0;