From 26dd53f68aeae0c1ad9b81a702e0522cbf077e43 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 27 Oct 2005 20:15:48 +0000 Subject: - Some cleanups at I2C stuff and fixing when tuner addr is set. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/tuner-core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/tuner-core.c') diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index a80ddbf7c..bc149e43d 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.82 2005/10/27 19:29:37 nsh Exp $ + * $Id: tuner-core.c,v 1.83 2005/10/27 20:15:48 mchehab Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -243,6 +243,9 @@ static void set_addr(struct i2c_client *c, struct tuner_setup *tun_setup) static inline int check_mode(struct tuner *t, char *cmd) { if ((1 << t->mode & t->mode_mask) == 0) { +#if 0 + tuner_dbg("Cmd %s rejected for mode %i\n", cmd,t->mode); +#endif return EINVAL; } -- cgit v1.2.3