summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-12 12:10:10 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 12:36:40 +0200
commit3e7974169a826fe20381302bddd7d531b30646ef (patch)
tree15093481b19232fbd85047f572d78e3e9555398e /drivers/media/usb/em28xx
parent[media] em28xx: don't break long lines (diff)
downloadlinux-3e7974169a826fe20381302bddd7d531b30646ef.tar.xz
linux-3e7974169a826fe20381302bddd7d531b30646ef.zip
[media] em28xx: mark printk continuation lines as such
This driver has a lot of printk continuation lines for debugging purposes. Since commit 563873318d32 ("Merge branch 'printk-cleanups"), this won't work as expected anymore. So, let's add KERN_CONT to those lines. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/em28xx')
-rw-r--r--drivers/media/usb/em28xx/em28xx-core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-core.c b/drivers/media/usb/em28xx/em28xx-core.c
index a73e853e876e..06bee2d67273 100644
--- a/drivers/media/usb/em28xx/em28xx-core.c
+++ b/drivers/media/usb/em28xx/em28xx-core.c
@@ -102,7 +102,7 @@ int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg,
0x0000, reg, dev->urb_buf, len, HZ);
if (ret < 0) {
if (reg_debug)
- printk(" failed!\n");
+ printk(KERN_CONT " failed!\n");
mutex_unlock(&dev->ctrl_urb_lock);
return usb_translate_errors(ret);
}
@@ -115,10 +115,10 @@ int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg,
if (reg_debug) {
int byte;
- printk("<<<");
+ printk(KERN_CONT "<<<");
for (byte = 0; byte < len; byte++)
- printk(" %02x", (unsigned char)buf[byte]);
- printk("\n");
+ printk(KERN_CONT " %02x", (unsigned char)buf[byte]);
+ printk(KERN_CONT "\n");
}
return ret;
@@ -174,8 +174,8 @@ int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf,
len & 0xff, len >> 8);
for (byte = 0; byte < len; byte++)
- printk(" %02x", (unsigned char)buf[byte]);
- printk("\n");
+ printk(KERN_CONT " %02x", (unsigned char)buf[byte]);
+ printk(KERN_CONT "\n");
}
mutex_lock(&dev->ctrl_urb_lock);