Skip to contentSkip to conversation

bttv-i2c.c wrong printk() fix

PATCH Andreas Kool 1 participant 1 message Sep 30, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

since i am using Linux 3.x my syslog gets flooded with tons of

[67819.884660] >
[67819.885062] >
[67819.885466] >

...

Please add these patch to v4l:

drivers/media/pci/bt8xx/bttv-i2c.c renamed from drivers/media/pci/bt8xx/bttv-i2c.c.orig +0 -0
@@ -173,7 +173,7 @@
		if (i2c_debug)
			pr_cont(" %02x", msg->buf[cnt]);
	}
-	if (!(xmit & BT878_I2C_NOSTOP))
+	if (i2c_debug && !(xmit & BT878_I2C_NOSTOP))
		pr_cont(">\n");
	return msg->len;

Thanks and
Ciao,
Andreas

Signature · 5 lines
Andreas Kool (Dont send mail to: [email protected])
Transmission of this message via the Microsoft Network is prohibited

"Das Wort WINDOWS stammt aus einem alten Sioux-Dialekt und bedeutet:
Weisser Mann starrt durch Glasscheibe auf Sanduhr." (anonym)