diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-30 02:41:56 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-30 02:41:56 +0000 |
commit | 8aac71d744339eeaba3b0c83d35ac1cbcddddb4f (patch) | |
tree | 43582b13f937c2428481239a08c525d05f55b40a /linux | |
parent | bccb63646435c603d4f0883c4476c1007dae0578 (diff) | |
download | mediapointer-dvb-s2-8aac71d744339eeaba3b0c83d35ac1cbcddddb4f.tar.gz mediapointer-dvb-s2-8aac71d744339eeaba3b0c83d35ac1cbcddddb4f.tar.bz2 |
- Corrected trouble when changing to radio mode
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Nickolay V Shmyrev <nshmyrev@yandex.ru>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index e6f0e2f4d..78f2c336c 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.30 2005/06/28 03:17:39 mchehab Exp $ + * $Id: tuner-core.c,v 1.31 2005/06/30 02:41:56 mchehab Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -383,12 +383,13 @@ tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) set_addr(client,(struct tuner_addr *)arg); break; case AUDC_SET_RADIO: - t->mode = V4L2_TUNER_RADIO; - if (check_mode(t,"AUDC_SET_RADIO")==EINVAL) return 0; + /* if (check_mode(t,"AUDC_SET_RADIO")==EINVAL) return 0; */ if (V4L2_TUNER_RADIO != t->mode) { set_tv_freq(client,400 * 16); } + t->mode = V4L2_TUNER_RADIO; + break; case AUDC_CONFIG_PINNACLE: if (check_mode(t,"AUDC_CONFIG_PINNACLE")==EINVAL) return 0; |