summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/msp3400-driver.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-14 18:40:36 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-14 18:40:36 +0000
commitc3d5a238fa13c956a7fd2656c484b7837e04f616 (patch)
tree1622d52670578488ab12898ed2f9b3f2e5e5e5d1 /linux/drivers/media/video/msp3400-driver.c
parent79207e1610a83dd6640785d864e5964f038972e6 (diff)
downloadmediapointer-dvb-s2-c3d5a238fa13c956a7fd2656c484b7837e04f616.tar.gz
mediapointer-dvb-s2-c3d5a238fa13c956a7fd2656c484b7837e04f616.tar.bz2
Log message:
- This fixes dual language detection on the msp3400. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/msp3400-driver.c')
-rw-r--r--linux/drivers/media/video/msp3400-driver.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/drivers/media/video/msp3400-driver.c b/linux/drivers/media/video/msp3400-driver.c
index b6ab3a3ee..7081a88e8 100644
--- a/linux/drivers/media/video/msp3400-driver.c
+++ b/linux/drivers/media/video/msp3400-driver.c
@@ -1861,6 +1861,10 @@ 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)) {
+ msp34xxg_reset(client);
+ break;
+ }
msp->watch_stereo = 0;
switch (msp->opmode) {
case OPMODE_MANUAL:
@@ -1977,6 +1981,10 @@ 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)) {
+ msp34xxg_reset(client);
+ break;
+ }
msp_wake_thread(client);
break;
}
@@ -1986,6 +1994,10 @@ 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)) {
+ msp34xxg_reset(client);
+ break;
+ }
msp_wake_thread(client);
break;
}