From: Trent Piepho Date: Mon, 12 Mar 2007 15:13:12 +0000 (-0300) Subject: V4L/DVB (5428): M920x: Detect zero-length I2C messages and fix a typo X-Git-Tag: v2.6.22-rc1~1118^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f8dcf90bdf4c6b23ea2af3d307d1d137b696b9;p=pandora-kernel.git V4L/DVB (5428): M920x: Detect zero-length I2C messages and fix a typo Change a 00 to just 0 Detect zero-length I2C messages and return not supported. I think I know how to send one, but the problem is getting the slave's ack. The only point of a zero-length message is for probing; too see if the slave will ack its address. Since we don't know how to get the ack, we can't support zero-length messages in a useful way, so it's probably best to just return not supported for them. Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed