summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-27 10:02:23 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-27 10:02:23 +0000
commitc3919c23e822aeff195a700b79e81afa70a1a758 (patch)
tree62c6bc2723590a304fce667719bedc67294ab229 /linux/drivers/media/video/tuner-core.c
parentbfa68ebe9380a8f2246d195fe464409fddb262ab (diff)
downloadmediapointer-dvb-s2-c3919c23e822aeff195a700b79e81afa70a1a758.tar.gz
mediapointer-dvb-s2-c3919c23e822aeff195a700b79e81afa70a1a758.tar.bz2
- tea5767_autodetection improved.
Newer code works with CX88. Should be tested with other chipsets tea5767_tuner_init doesn't probe tuner anymore, allowing forcing tuner to 5767. - Debug messages simplified to allow printing on one 80 char line at newer I2C Recv option. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 8d4f19a0a..5676133d6 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.61 2005/07/27 02:44:37 mchehab Exp $
+ * $Id: tuner-core.c,v 1.62 2005/07/27 10:02:23 mchehab Exp $
*
* i2c tv tuner chip device driver
* core core, i.e. kernel interfaces, registering and so on
@@ -341,7 +341,7 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
rc = i2c_master_recv(&t->i2c, buffer, sizeof(buffer));
printk("tuner-%04x I2C RECV = ",addr);
for (i=0;i<rc;i++)
- printk("0x%02x ",buffer[i]);
+ printk("%02x ",buffer[i]);
printk("\n");
}
/* TEA5767 autodetection code - only for addr = 0xc0 */