aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-29 14:29:00 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-02 03:55:54 -0400
commitcc33668b1eed1eac43f00cec639066047323b01d (patch)
tree44bd76a452d04e348d4ff9c43e18b24eef7ccf01 /drivers/media
parent021e0b768b2c7931d9ba699e135c3eec42d5d3eb (diff)
V4L/DVB (3667a): Fix SAP + stereo mode at msp3400
It should be V4L2_TUNER_MODE_LANG1_LANG2. What the code does is check if we are NTSC and a SAP channel is available. If so, then the msp3400 should switch to standard 0x21 if the user wants to hear the SAP channel, which is for audio modes LANG2 (aka SAP) and LANG1_LANG2 (bilingual). In the msp3400 driver STEREO is abused for bilingual in PAL. Bilingual never worked with NTSC in the past and I decided that I'd better not use the bad PAL example. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/msp3400-kthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/msp3400-kthreads.c b/drivers/media/video/msp3400-kthreads.c
index 2ee596db265a..1a4564a7e92f 100644
--- a/drivers/media/video/msp3400-kthreads.c
+++ b/drivers/media/video/msp3400-kthreads.c
@@ -1036,7 +1036,7 @@ static void msp34xxg_set_audmode(struct i2c_client *client)
1036 1036
1037 if (state->std == 0x20) { 1037 if (state->std == 0x20) {
1038 if ((state->rxsubchans & V4L2_TUNER_SUB_SAP) && 1038 if ((state->rxsubchans & V4L2_TUNER_SUB_SAP) &&
1039 (state->audmode == V4L2_TUNER_MODE_STEREO || 1039 (state->audmode == V4L2_TUNER_MODE_LANG1_LANG2 ||
1040 state->audmode == V4L2_TUNER_MODE_LANG2)) { 1040 state->audmode == V4L2_TUNER_MODE_LANG2)) {
1041 msp_write_dem(client, 0x20, 0x21); 1041 msp_write_dem(client, 0x20, 0x21);
1042 } else { 1042 } else {