From: Antti Palosaari Date: Mon, 2 Apr 2012 23:18:59 +0000 (-0300) Subject: [media] af9035: fix and enhance I2C adapter X-Git-Tag: v3.5-rc1~104^2~458 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad30e91befd7153827a97faa8281dcd48aa6702d;p=pandora-kernel.git [media] af9035: fix and enhance I2C adapter There was a bug I2C adapter writes and reads one byte too much. As the most I2C clients has auto-increment register addressing this leads next register from the target register overwritten by garbage data. As a change remove whole register address byte usage and write data directly to the I2C bus without saying what are register address bytes to firmware. Signed-off-by: Antti Palosaari Cc: Michael Buesch Cc: Hans-Frieder Vogt Cc: Gianluca Gennari Tested-by: Michael Buesch Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed