diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-06 15:38:48 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-06 15:38:48 +0000 |
commit | fbe7d42cc40bee7179ab9ba05959b2b3374acf08 (patch) | |
tree | 4bccb6e3d46bb14d73fb2a3393784cba6949e1fb /linux/drivers | |
parent | 548a3d6da9ff3a3923112071f41a7afaad10701e (diff) | |
download | mediapointer-dvb-s2-fbe7d42cc40bee7179ab9ba05959b2b3374acf08.tar.gz mediapointer-dvb-s2-fbe7d42cc40bee7179ab9ba05959b2b3374acf08.tar.bz2 |
- msp3400 code cleanups
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/msp3400-driver.c | 12 | ||||
-rw-r--r-- | linux/drivers/media/video/msp3400.c | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/linux/drivers/media/video/msp3400-driver.c b/linux/drivers/media/video/msp3400-driver.c index 8f94f2619..cc0c3caf8 100644 --- a/linux/drivers/media/video/msp3400-driver.c +++ b/linux/drivers/media/video/msp3400-driver.c @@ -1933,9 +1933,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp3400_dbg("AUDC_SET_RADIO\n"); msp->norm = VIDEO_MODE_RADIO; msp3400_dbg("switching to radio mode\n"); - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp->watch_stereo = 0; switch (msp->opmode) { case OPMODE_MANUAL: @@ -2052,9 +2049,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp3400_dbg("VIDIOCSCHAN (norm=%d)\n",vc->norm); msp->norm = vc->norm; - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp_wake_thread(client); break; } @@ -2064,9 +2058,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) { /* new channel -- kick audio carrier scan */ msp3400_dbg("VIDIOCSFREQ\n"); - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp_wake_thread(client); break; } @@ -2095,9 +2086,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp->norm=VIDEO_MODE_NTSC; } - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp_wake_thread(client); return 0; } diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c index 8f94f2619..cc0c3caf8 100644 --- a/linux/drivers/media/video/msp3400.c +++ b/linux/drivers/media/video/msp3400.c @@ -1933,9 +1933,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp3400_dbg("AUDC_SET_RADIO\n"); msp->norm = VIDEO_MODE_RADIO; msp3400_dbg("switching to radio mode\n"); - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp->watch_stereo = 0; switch (msp->opmode) { case OPMODE_MANUAL: @@ -2052,9 +2049,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp3400_dbg("VIDIOCSCHAN (norm=%d)\n",vc->norm); msp->norm = vc->norm; - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp_wake_thread(client); break; } @@ -2064,9 +2058,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) { /* new channel -- kick audio carrier scan */ msp3400_dbg("VIDIOCSFREQ\n"); - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp_wake_thread(client); break; } @@ -2095,9 +2086,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp->norm=VIDEO_MODE_NTSC; } - if (IS_MSP34XX_G(msp)) - msp34xxg_reset(client); - msp_wake_thread(client); return 0; } |