]> err.no Git - linux-2.6/commit
V4L/DVB (3568a): saa7114: Fix i2c block write
authorJean Delvare <khali@linux-fr.org>
Wed, 22 Mar 2006 06:48:33 +0000 (03:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 23 Mar 2006 14:24:03 +0000 (11:24 -0300)
commit6254312352dfd1c996245cb3bc74be901dc165cc
tree4040c6d047f4be61b0a55b0b34323d3ef34e3884
parent2e6e33bab6e1996a5dec9108fb467b52b841e7a8
V4L/DVB (3568a): saa7114: Fix i2c block write

Fix the i2c block write mode of the saa7114 driver.  A previous code change
accidentally commented out a local variable increment, which should have been
kept, causing the register writes over the I2C bus to never be batched,
replacing any attempted block write by slower, individual write transactions.

Also drop the commented out code, as it only adds to confusion.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7114.c