diff options
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 11 | ||||
-rw-r--r-- | v4l/ChangeLog | 8 |
2 files changed, 18 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index 54692bc64..ae5c0ceb6 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.34 2005/06/30 17:16:03 mchehab Exp $ + * $Id: tuner-core.c,v 1.35 2005/06/30 21:46:28 mchehab Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -408,9 +408,18 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) switch (cmd) { /* --- configuration --- */ case TUNER_SET_TYPE: + if (tuner_debug) + tuner_dbg("Calling set_type for type=%d\n",*iarg); + set_type(client, *iarg, T_RADIO | T_ANALOG_TV | T_DIGITAL_TV); break; case TUNER_SET_TYPE_ADDR: + if (tuner_debug) + tuner_dbg("Calling set_type_addr for type=%d, addr=0x%02x, mode=0x%02x\n", + ((struct tuner_addr *)arg)->type, + ((struct tuner_addr *)arg)->addr, + ((struct tuner_addr *)arg)->v4l2_tuner); + set_addr(client, (struct tuner_addr *)arg); break; case AUDC_SET_RADIO: diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 94204159b..3a726de74 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,6 +1,14 @@ 2005-06-29 17:18 mchehab * tuner-core.c: + - Included two new debug msgs for showing I2C set_type calls when + tuner_debug is on. + + Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> + +2005-06-29 17:18 mchehab + * tuner-core.c: + - Removed debug info. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> |