bttv-i2c.c wrong printk() fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

--- v4l-dvb/drivers/media/pci/bt8xx/bttv-i2c.c.orig 2012-09-30 12:54:09.611095929 +0200 +++ v4l-dvb/drivers/media/pci/bt8xx/bttv-i2c.c 2012-09-30 12:59:40.797318140 +0200
@@ -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
--
Andreas Kool (Dont send mail to: ubecacher@xxxxxxxx)
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux