From 8aac71d744339eeaba3b0c83d35ac1cbcddddb4f Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 30 Jun 2005 02:41:56 +0000 Subject: - Corrected trouble when changing to radio mode Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Nickolay V Shmyrev --- linux/drivers/media/video/tuner-core.c | 7 ++++--- v4l/ChangeLog | 7 +++++++ 2 files changed, 11 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; diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 522be5d6d..95fd12077 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,10 @@ +2005-06-29 02:42 mchehab + * tuner-core.c: + - Corrected trouble when changing to radio mode + + Signed-off-by: Mauro Carvalho Chehab + Signed-off-by: Nickolay V Shmyrev + 2005-06-28 16:15 mchehab * cx88-video.c: - Changed hue offset to 128 to correct its behavior. -- cgit v1.2.3