summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-driver.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-05-21 07:46:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-11 16:05:32 -0300
commit7025e521b1b068af8a47a7625335a605bbd4d7ea (patch)
tree05017c7f04be834968ccefdccdaa130735235816 /drivers/media/video/bt8xx/bttv-driver.c
parent792a21b0def241e73345e366a456ae7e516ba2f5 (diff)
downloadlinux-7025e521b1b068af8a47a7625335a605bbd4d7ea.tar.gz
linux-7025e521b1b068af8a47a7625335a605bbd4d7ea.tar.bz2
linux-7025e521b1b068af8a47a7625335a605bbd4d7ea.zip
[media] bttv: The Hauppauge 61334 needs the msp3410 to do radio demodulation
The (radio) audio out from the tuner (which can also demod FM radio) does not seem to be hooked up to the msp3410 on this board in any way, so the only way to get sound from the radio part is to make the msp3410 do the FM radio demod. The msp3410 can handle this fine, but it is a bit weird compared to how it is handled on other boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index a9cfb0f4be48..ff7a589d8e0f 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -1218,6 +1218,11 @@ audio_mux(struct bttv *btv, int input, int mute)
For now this is sufficient. */
switch (input) {
case TVAUDIO_INPUT_RADIO:
+ /* Some boards need the msp do to the radio demod */
+ if (btv->radio_uses_msp_demodulator) {
+ in = MSP_INPUT_DEFAULT;
+ break;
+ }
in = MSP_INPUT(MSP_IN_SCART2, MSP_IN_TUNER1,
MSP_DSP_IN_SCART, MSP_DSP_IN_SCART);
break;