summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-tvaudio.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2005-02-22 09:56:28 +0000
committerGerd Knorr <devnull@localhost>2005-02-22 09:56:28 +0000
commit3f08c54d9289e972068dd8676d823c479925dfb5 (patch)
treeabdc728df8694341de1e757fb46ad56ec960cb7a /linux/drivers/media/video/cx88/cx88-tvaudio.c
parent8a8d071d5d022bbf5bc92d5172f362e8fa98a9ae (diff)
downloadmediapointer-dvb-s2-3f08c54d9289e972068dd8676d823c479925dfb5.tar.gz
mediapointer-dvb-s2-3f08c54d9289e972068dd8676d823c479925dfb5.tar.bz2
- misc fixes from various people.
- make or51132.c compile (not work) on 2.6.10.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-tvaudio.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-tvaudio.c b/linux/drivers/media/video/cx88/cx88-tvaudio.c
index 0fdfd7710..1d4faabf1 100644
--- a/linux/drivers/media/video/cx88/cx88-tvaudio.c
+++ b/linux/drivers/media/video/cx88/cx88-tvaudio.c
@@ -1,5 +1,5 @@
/*
- $Id: cx88-tvaudio.c,v 1.32 2005/02/15 10:51:54 kraxel Exp $
+ $Id: cx88-tvaudio.c,v 1.33 2005/02/22 09:56:29 kraxel Exp $
cx88x-audio.c - Conexant CX23880/23881 audio downstream driver driver
@@ -142,6 +142,13 @@ static void set_audio_finish(struct cx88_core *core)
{
u32 volume;
+ if (cx88_boards[core->board].blackbird) {
+ // 'pass-thru mode': this enables the i2s output to the mpeg encoder
+ cx_set(AUD_CTL, 0x2000);
+ cx_write(AUD_I2SOUTPUTCNTL, 1);
+ //cx_write(AUD_APB_IN_RATE_ADJ, 0);
+ }
+
// finish programming
cx_write(AUD_SOFT_RESET, 0x0000);