diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-14 06:50:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 08:05:40 -0200 |
commit | 09f8be263c9c5fa0ee33e24e1f89b8cde68ec056 (patch) | |
tree | 4eadae4eb92fcfa2e222b9b98368e0f0c93809de /drivers/media/pci/cx23885/cx23885-i2c.c | |
parent | fa132a64e2003c72c149725ffa7bae06b0cc9054 (diff) | |
download | lwn-09f8be263c9c5fa0ee33e24e1f89b8cde68ec056.tar.gz lwn-09f8be263c9c5fa0ee33e24e1f89b8cde68ec056.zip |
[media] cx23885: use KERN_CONT where needed
Some continuation messages are not using KERN_CONT.
Since commit 563873318d32 ("Merge branch 'printk-cleanups'"),
this won't work as expected anymore. So, let's add KERN_CONT
to those lines.
While here, add missing log level annotations.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885-i2c.c')
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-i2c.c b/drivers/media/pci/cx23885/cx23885-i2c.c index 61591225be9a..19faf9a611ed 100644 --- a/drivers/media/pci/cx23885/cx23885-i2c.c +++ b/drivers/media/pci/cx23885/cx23885-i2c.c @@ -119,9 +119,9 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap, if (!i2c_wait_done(i2c_adap)) goto eio; if (i2c_debug) { - printk(" <W %02x %02x", msg->addr << 1, msg->buf[0]); + printk(KERN_DEBUG " <W %02x %02x", msg->addr << 1, msg->buf[0]); if (!(ctrl & I2C_NOSTOP)) - printk(" >\n"); + printk(KERN_CONT " >\n"); } for (cnt = 1; cnt < msg->len; cnt++) { @@ -141,9 +141,9 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap, if (!i2c_wait_done(i2c_adap)) goto eio; if (i2c_debug) { - dprintk(1, " %02x", msg->buf[cnt]); + printk(KERN_CONT " %02x", msg->buf[cnt]); if (!(ctrl & I2C_NOSTOP)) - dprintk(1, " >\n"); + printk(KERN_CONT " >\n"); } } return msg->len; |