V4L/DVB (5427): M920x: Improve I2C operations
authorTrent Piepho <xyzzy@speakeasy.org>
Tue, 6 Mar 2007 02:55:00 +0000 (23:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:42 +0000 (15:44 -0300)
commitd40860f8e2edb31196f4233d3691704d313dbdd6
tree033a5354d255a7090aadbf1c134a392aaf6409bc
parent634bc48da766a9817e55e7dbd9909a6b26567e92
V4L/DVB (5427): M920x: Improve I2C operations

Write some better documentation about what might be known about how the
m920x I2C works, since a datasheet is lacking.
The I2C xfer function should now handle more types of I2C transactions
than it could before.  Those it can't, will return error codes instead of
being executed incorrectly.  Multi-byte reads were not being done
correctly, which should be fixed.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/m920x.c
drivers/media/dvb/dvb-usb/m920x.h