summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/msp3400-kthreads.c
diff options
context:
space:
mode:
authorHans Verkuil2006-10-01 22:56:32 +0200
committerMauro Carvalho Chehab2006-10-03 20:14:55 +0200
commitde98cdaf7ead419fe8b0a0a636ffb175489958fe (patch)
treec804e9f787230c76ee14847309d0d1e3f5b713a1 /drivers/media/video/msp3400-kthreads.c
parentV4L/DVB (4686): Cxusb: add support for DViCO FusionHDTV DVB-T Dual Digital 2 (diff)
downloadkernel-qcow2-linux-de98cdaf7ead419fe8b0a0a636ffb175489958fe.tar.gz
kernel-qcow2-linux-de98cdaf7ead419fe8b0a0a636ffb175489958fe.tar.xz
kernel-qcow2-linux-de98cdaf7ead419fe8b0a0a636ffb175489958fe.zip
V4L/DVB (4688): Fix msp343xG handling (regression from 2.6.16)
The msp3430G and msp3435G models cannot do Automatic Standard Detection. So these should be forced to BTSC. These chips are early production versions for the msp34xxG series and are quite rare. The workaround for kernel 2.6.18 is to use 'standard=32' as msp3400 module option. Due to broken handling of the 'standard' option in 2.6.17 there is no workaround possible for that kernel. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/msp3400-kthreads.c')
-rw-r--r--drivers/media/video/msp3400-kthreads.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/msp3400-kthreads.c b/drivers/media/video/msp3400-kthreads.c
index ed02ff811388..4c7f85b566a0 100644
--- a/drivers/media/video/msp3400-kthreads.c
+++ b/drivers/media/video/msp3400-kthreads.c
@@ -960,9 +960,10 @@ int msp34xxg_thread(void *data)
/* setup the chip*/
msp34xxg_reset(client);
- state->std = state->radio ? 0x40 : msp_standard;
- /* start autodetect */
+ state->std = state->radio ? 0x40 :
+ (state->force_btsc && msp_standard == 1) ? 32 : msp_standard;
msp_write_dem(client, 0x20, state->std);
+ /* start autodetect */
if (state->std != 1)
goto unmute;