提交 78f82405 编写于 作者: H Hans Verkuil 提交者: Linus Torvalds

[PATCH] v4l: 788: log message

- This fixes dual language detection on the msp3400.
Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 74458e6c
...@@ -1788,6 +1788,10 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) ...@@ -1788,6 +1788,10 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
dprintk("msp34xx: AUDC_SET_RADIO\n"); dprintk("msp34xx: AUDC_SET_RADIO\n");
msp->norm = VIDEO_MODE_RADIO; msp->norm = VIDEO_MODE_RADIO;
dprintk("msp34xx: switching to radio mode\n"); dprintk("msp34xx: switching to radio mode\n");
if (IS_MSP34XX_G(msp)) {
msp34xxg_reset(client);
break;
}
msp->watch_stereo = 0; msp->watch_stereo = 0;
switch (msp->opmode) { switch (msp->opmode) {
case OPMODE_MANUAL: case OPMODE_MANUAL:
...@@ -1902,6 +1906,10 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) ...@@ -1902,6 +1906,10 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
dprintk("msp34xx: VIDIOCSCHAN (norm=%d)\n",vc->norm); dprintk("msp34xx: VIDIOCSCHAN (norm=%d)\n",vc->norm);
msp->norm = vc->norm; msp->norm = vc->norm;
if (IS_MSP34XX_G(msp)) {
msp34xxg_reset(client);
break;
}
msp_wake_thread(client); msp_wake_thread(client);
break; break;
} }
...@@ -1911,6 +1919,10 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) ...@@ -1911,6 +1919,10 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
{ {
/* new channel -- kick audio carrier scan */ /* new channel -- kick audio carrier scan */
dprintk("msp34xx: VIDIOCSFREQ\n"); dprintk("msp34xx: VIDIOCSFREQ\n");
if (IS_MSP34XX_G(msp)) {
msp34xxg_reset(client);
break;
}
msp_wake_thread(client); msp_wake_thread(client);
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册