提交 2fd3c14c 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

V4L/DVB (7343): msp3400: fix SECAM D/K handling

The 6.5 MHz carrier was interpreted as SECAM-L even if SECAM-D/K was
selected.
Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 e0028027
...@@ -833,11 +833,6 @@ static int msp34xxg_modus(struct i2c_client *client) ...@@ -833,11 +833,6 @@ static int msp34xxg_modus(struct i2c_client *client)
v4l_dbg(1, msp_debug, client, "selected radio modus\n"); v4l_dbg(1, msp_debug, client, "selected radio modus\n");
return 0x0001; return 0x0001;
} }
if (state->v4l2_std & V4L2_STD_PAL) {
v4l_dbg(1, msp_debug, client, "selected PAL modus\n");
return 0x7001;
}
if (state->v4l2_std == V4L2_STD_NTSC_M_JP) { if (state->v4l2_std == V4L2_STD_NTSC_M_JP) {
v4l_dbg(1, msp_debug, client, "selected M (EIA-J) modus\n"); v4l_dbg(1, msp_debug, client, "selected M (EIA-J) modus\n");
return 0x4001; return 0x4001;
...@@ -846,15 +841,15 @@ static int msp34xxg_modus(struct i2c_client *client) ...@@ -846,15 +841,15 @@ static int msp34xxg_modus(struct i2c_client *client)
v4l_dbg(1, msp_debug, client, "selected M (A2) modus\n"); v4l_dbg(1, msp_debug, client, "selected M (A2) modus\n");
return 0x0001; return 0x0001;
} }
if (state->v4l2_std == V4L2_STD_SECAM_L) {
v4l_dbg(1, msp_debug, client, "selected SECAM-L modus\n");
return 0x6001;
}
if (state->v4l2_std & V4L2_STD_MN) { if (state->v4l2_std & V4L2_STD_MN) {
v4l_dbg(1, msp_debug, client, "selected M (BTSC) modus\n"); v4l_dbg(1, msp_debug, client, "selected M (BTSC) modus\n");
return 0x2001; return 0x2001;
} }
if (state->v4l2_std & V4L2_STD_SECAM) { return 0x7001;
v4l_dbg(1, msp_debug, client, "selected SECAM modus\n");
return 0x6001;
}
return 0x0001;
} }
static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in) static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册