summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/msp3400-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-10-01 22:56:32 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-10-01 22:56:32 +0200
commit9a911497132a384b61c15b4e58b9a4f71eda4470 (patch)
tree074e5abe16f6bd72e65f318b59bc3716bc969199 /linux/drivers/media/video/msp3400-driver.c
parent266ccc9e4db8dd7e6dd0b631decb7f1b52f27eb2 (diff)
downloadmediapointer-dvb-s2-9a911497132a384b61c15b4e58b9a4f71eda4470.tar.gz
mediapointer-dvb-s2-9a911497132a384b61c15b4e58b9a4f71eda4470.tar.bz2
Fix msp343xG handling (regression from 2.6.16)
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
Diffstat (limited to 'linux/drivers/media/video/msp3400-driver.c')
-rw-r--r--linux/drivers/media/video/msp3400-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/msp3400-driver.c b/linux/drivers/media/video/msp3400-driver.c
index 4e8831f88..1105e4257 100644
--- a/linux/drivers/media/video/msp3400-driver.c
+++ b/linux/drivers/media/video/msp3400-driver.c
@@ -977,6 +977,8 @@ static int msp_attach(struct i2c_adapter *adapter, int address, int kind)
state->has_virtual_dolby_surround = msp_revision == 'G' && msp_prod_lo == 1;
/* Has Virtual Dolby Surround & Dolby Pro Logic: only in msp34x2 */
state->has_dolby_pro_logic = msp_revision == 'G' && msp_prod_lo == 2;
+ /* The msp343xG supports BTSC only and cannot do Automatic Standard Detection. */
+ state->force_btsc = msp_family == 3 && msp_revision == 'G' && msp_prod_hi == 3;
state->opmode = opmode;
if (state->opmode == OPMODE_AUTO) {