aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 20:46:14 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:42 -0400
commit82ac4f876505615ba9dc6a73cd9a584bad8fe23f (patch)
treee52414ce9cce9200e8bb57095e6a001bb194c199 /drivers
parent41facaa4b63cc1a0ff5a900149a29942d47e1491 (diff)
V4L/DVB (7614): em28xx-core: fix some debug printk's that wrongly received KERN_INFO
Those printk's were adding more info to a line that were already being printed. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/em28xx/em28xx-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index 01d5f44268ff..bd7794f4fd74 100644
--- a/drivers/media/video/em28xx/em28xx-core.c
+++ b/drivers/media/video/em28xx/em28xx-core.c
@@ -80,9 +80,9 @@ int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg,
80 if (reg_debug) { 80 if (reg_debug) {
81 printk(ret < 0 ? " failed!\n" : "%02x values: ", ret); 81 printk(ret < 0 ? " failed!\n" : "%02x values: ", ret);
82 for (byte = 0; byte < len; byte++) 82 for (byte = 0; byte < len; byte++)
83 printk(KERN_INFO " %02x", (unsigned char)buf[byte]); 83 printk(" %02x", (unsigned char)buf[byte]);
84 84
85 printk(KERN_INFO "\n"); 85 printk("\n");
86 } 86 }
87 87
88 return ret; 88 return ret;
@@ -143,8 +143,8 @@ int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf,
143 if (reg_debug) { 143 if (reg_debug) {
144 int i; 144 int i;
145 for (i = 0; i < len; ++i) 145 for (i = 0; i < len; ++i)
146 printk(KERN_INFO " %02x", (unsigned char)buf[i]); 146 printk(" %02x", (unsigned char)buf[i]);
147 printk(KERN_INFO "\n"); 147 printk("\n");
148 } 148 }
149 149
150 if (!bufs) 150 if (!bufs)