提交 4c0772a9 编写于 作者: M Mauro Carvalho Chehab 提交者: Linus Torvalds

[PATCH] v4l: 803: after msp34xxg reset msp wake thread should be called

- After msp34xxg_reset, msp_wake_thread should be called to
	wake again.
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>
上级 02f74273
......@@ -1788,10 +1788,9 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
dprintk("msp34xx: AUDC_SET_RADIO\n");
msp->norm = VIDEO_MODE_RADIO;
dprintk("msp34xx: switching to radio mode\n");
if (IS_MSP34XX_G(msp)) {
if (IS_MSP34XX_G(msp))
msp34xxg_reset(client);
break;
}
msp->watch_stereo = 0;
switch (msp->opmode) {
case OPMODE_MANUAL:
......@@ -1906,10 +1905,9 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
dprintk("msp34xx: VIDIOCSCHAN (norm=%d)\n",vc->norm);
msp->norm = vc->norm;
if (IS_MSP34XX_G(msp)) {
if (IS_MSP34XX_G(msp))
msp34xxg_reset(client);
break;
}
msp_wake_thread(client);
break;
}
......@@ -1919,10 +1917,9 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
{
/* new channel -- kick audio carrier scan */
dprintk("msp34xx: VIDIOCSFREQ\n");
if (IS_MSP34XX_G(msp)) {
if (IS_MSP34XX_G(msp))
msp34xxg_reset(client);
break;
}
msp_wake_thread(client);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册