summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-05-21 13:48:58 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-05-21 13:48:58 -0400
commit4534b2fe32a702ee4d2b76c2da7eded605652c8b (patch)
treeaa9ef2d0cb7aefeca874df32200b44b2ab2ca2b2 /linux/drivers
parentdf59e1e030bc294f3e1a9bc01b03361e34b5c013 (diff)
downloadmediapointer-dvb-s2-4534b2fe32a702ee4d2b76c2da7eded605652c8b.tar.gz
mediapointer-dvb-s2-4534b2fe32a702ee4d2b76c2da7eded605652c8b.tar.bz2
cx88-blackbird: remove unnecessary encoder unmute
From: Jelle Foks <jelle@foks.8m.com> Remove the unnecessary BLACKBIRD_UNMUTE calls to the mpeg encoder in cx88-blackbird.c The encoder is never muted, hence unmuting should then only be necessary once after hardware initialization. I tested this from warm boots and cold boots (with long power down time to ensure the sram in the chip is emptied), and found that after the firmware upload the encoder is apparently not muted, making the unmutes unnecessary. Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx88/cx88-blackbird.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c
index f0a49f24c..3cb76e235 100644
--- a/linux/drivers/media/video/cx88/cx88-blackbird.c
+++ b/linux/drivers/media/video/cx88/cx88-blackbird.c
@@ -620,9 +620,6 @@ static int blackbird_start_codec(struct file *file, void *priv)
/* unmute audio source */
cx_clear(AUD_VOL_CTL, (1 << 6));
- blackbird_api_cmd(dev, CX2341X_ENC_MUTE_VIDEO, 1, 0, BLACKBIRD_UNMUTE);
- blackbird_api_cmd(dev, CX2341X_ENC_MUTE_AUDIO, 1, 0, BLACKBIRD_UNMUTE);
-
blackbird_api_cmd(dev, CX2341X_ENC_REFRESH_INPUT, 0,0);
/* initialize the video input */