diff options
author | Steven Toth <stoth@hauppauge.com> | 2006-01-09 12:25:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:17 -0500 |
commit | 0345c387de72b5d7fbfeda9d92818fa7013a6d1c (patch) | |
tree | 2d1b8277b7c5989aa1c8f75fa25f51f881c7a4ae /drivers/media/video/cx88/cx88-tvaudio.c | |
parent | 2304759d7e5debbd400eca6e9bb979a186c798a9 (diff) |
V4L/DVB (3112): Several fixes for Hauppauge Roselyn Design (blackbird)
- This patch adds eeprom awareness for the Roslyn. In effect, the
blackbird will query the tuner V4L2_STD_xxxx definitions to determine
whether it's connected to a NTSC or PAL tuner. Based on that, various
default values will change for blackbird encoding.
- Fixes back panel SVIDEO/COMPOSITE with audio, work properly.
- Fixes a problem with lip sync issues, due to bad framerate vs
audio rate assumptions.
- Fixed a problem with the GPIO configuration in cx88-cards.
- Removed the comments in cx88-cards that made no sense.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index a1b120c8a9b5..00051a4c1dc2 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -139,7 +139,11 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl) | |||
139 | 139 | ||
140 | if (cx88_boards[core->board].blackbird) { | 140 | if (cx88_boards[core->board].blackbird) { |
141 | /* sets sound input from external adc */ | 141 | /* sets sound input from external adc */ |
142 | cx_set(AUD_CTL, EN_I2SIN_ENABLE); | 142 | if (core->board == CX88_BOARD_HAUPPAUGE_ROSLYN) |
143 | cx_clear(AUD_CTL, EN_I2SIN_ENABLE); | ||
144 | else | ||
145 | cx_set(AUD_CTL, EN_I2SIN_ENABLE); | ||
146 | |||
143 | cx_write(AUD_I2SINPUTCNTL, 4); | 147 | cx_write(AUD_I2SINPUTCNTL, 4); |
144 | cx_write(AUD_BAUDRATE, 1); | 148 | cx_write(AUD_BAUDRATE, 1); |
145 | /* 'pass-thru mode': this enables the i2s output to the mpeg encoder */ | 149 | /* 'pass-thru mode': this enables the i2s output to the mpeg encoder */ |