diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-10-27 20:15:48 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-10-27 20:15:48 +0000 |
commit | 26dd53f68aeae0c1ad9b81a702e0522cbf077e43 (patch) | |
tree | 3b548007838f8fb6243d92a5f13eedc6a4628f7c /linux/drivers/media/video/tuner-core.c | |
parent | 74c79ec2c97fd60b7458b88cd7fefe8fc3af38fb (diff) | |
download | mediapointer-dvb-s2-26dd53f68aeae0c1ad9b81a702e0522cbf077e43.tar.gz mediapointer-dvb-s2-26dd53f68aeae0c1ad9b81a702e0522cbf077e43.tar.bz2 |
- Some cleanups at I2C stuff and fixing when tuner addr is set.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |