- After msp34xxg_reset, msp_wake_thread should be called to
wake again.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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:
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;
}
{
/* 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;
}