summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r--linux/drivers/media/video/tuner-core.c7
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;