diff options
author | Jelle Foks <jelle@foks.8m.com> | 2007-05-21 13:48:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:48 -0500 |
commit | 4423a9a3395ef652d80d848161444b417f1f78c0 (patch) | |
tree | c3cdef46213a82086c5cddc8dbc7313521b21bb7 /drivers/media/video/cx88/cx88-blackbird.c | |
parent | e21a5c68deab7cd300e8502488f844f77e0f26d0 (diff) |
V4L/DVB (6830): cx88-blackbird: remove unnecessary encoder unmute
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 4a0e1f8992cd..165c0fdd3d13 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -610,9 +610,6 @@ static int blackbird_start_codec(struct file *file, void *priv) | |||
610 | /* unmute audio source */ | 610 | /* unmute audio source */ |
611 | cx_clear(AUD_VOL_CTL, (1 << 6)); | 611 | cx_clear(AUD_VOL_CTL, (1 << 6)); |
612 | 612 | ||
613 | blackbird_api_cmd(dev, CX2341X_ENC_MUTE_VIDEO, 1, 0, BLACKBIRD_UNMUTE); | ||
614 | blackbird_api_cmd(dev, CX2341X_ENC_MUTE_AUDIO, 1, 0, BLACKBIRD_UNMUTE); | ||
615 | |||
616 | blackbird_api_cmd(dev, CX2341X_ENC_REFRESH_INPUT, 0,0); | 613 | blackbird_api_cmd(dev, CX2341X_ENC_REFRESH_INPUT, 0,0); |
617 | 614 | ||
618 | /* initialize the video input */ | 615 | /* initialize the video input */ |