Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7887d371 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] flexcop-i2c: mark printk continuation lines as such



This driver has printk continuation lines for debugging purposes.

Since commit 56387331 ("Merge branch 'printk-cleanups'"),
this won't work as expected anymore. So, let's add KERN_CONT to
those lines.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 178991e0
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -124,10 +124,10 @@ int flexcop_i2c_request(struct flexcop_i2c_adapter *i2c,
#ifdef DUMP_I2C_MESSAGES
	printk(KERN_DEBUG "%d ", i2c->port);
	if (op == FC_READ)
		printk("rd(");
		printk(KERN_CONT "rd(");
	else
		printk("wr(");
	printk("%02x): %02x ", chipaddr, addr);
		printk(KERN_CONT "wr(");
	printk(KERN_CONT "%02x): %02x ", chipaddr, addr);
#endif

	/* in that case addr is the only value ->
@@ -151,7 +151,7 @@ int flexcop_i2c_request(struct flexcop_i2c_adapter *i2c,

#ifdef DUMP_I2C_MESSAGES
		for (i = 0; i < bytes_to_transfer; i++)
			printk("%02x ", buf[i]);
			printk(KERN_CONT "%02x ", buf[i]);
#endif

		if (ret < 0)
@@ -163,7 +163,7 @@ int flexcop_i2c_request(struct flexcop_i2c_adapter *i2c,
	}

#ifdef DUMP_I2C_MESSAGES
	printk("\n");
	printk(KERN_CONT "\n");
#endif

	return 0;