aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-10-13 19:42:45 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:49 -0500
commit6a0bc9a0162d10c551bb916a1a21bfede4db3203 (patch)
tree626e90792af6bb80d97d74c66910c70d7f5a5a0d /drivers/media/video/cx88
parent7b27d45bb50498c86aa87e7ef174b2a0f5b6f361 (diff)
V4L/DVB (6832): cx88-blackbird: don't mute audio when stopping the codec
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>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c
index 165c0fdd3d13..d83facf00dc6 100644
--- a/drivers/media/video/cx88/cx88-blackbird.c
+++ b/drivers/media/video/cx88/cx88-blackbird.c
@@ -627,15 +627,11 @@ static int blackbird_start_codec(struct file *file, void *priv)
627 627
628static int blackbird_stop_codec(struct cx8802_dev *dev) 628static int blackbird_stop_codec(struct cx8802_dev *dev)
629{ 629{
630 struct cx88_core *core = dev->core;
631
632 blackbird_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE, 3, 0, 630 blackbird_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE, 3, 0,
633 BLACKBIRD_END_NOW, 631 BLACKBIRD_END_NOW,
634 BLACKBIRD_MPEG_CAPTURE, 632 BLACKBIRD_MPEG_CAPTURE,
635 BLACKBIRD_RAW_BITS_NONE 633 BLACKBIRD_RAW_BITS_NONE
636 ); 634 );
637 /* mute audio source */
638 cx_set(AUD_VOL_CTL, (1 << 6));
639 635
640 dev->mpeg_active = 0; 636 dev->mpeg_active = 0;
641 return 0; 637 return 0;