From: Devin Heitmueller Date: Wed, 11 Mar 2009 06:00:56 +0000 (-0300) Subject: V4L/DVB (11074): au0828: fix i2c enumeration bug X-Git-Tag: v2.6.30-rc1~621^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8685b565d6526aca6aaefb80059d115c124821;p=pandora-kernel.git V4L/DVB (11074): au0828: fix i2c enumeration bug There was a bug where enumerating the i2c for devices would result in false positives. The root of the issue was the scanning was using SMBUS_QUICK messages, which are zero length write requests (which our i2c adapter implementation didn't handle). Because we never strobed any bytes onto the bus, the status register would still contain the value from the previous request. Thanks to Michael Krufky and Steven Toth for providing sample hardware, engineering level support, and testing. Signed-off-by: Devin Heitmueller Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed