From: Sonic Zhang Date: Tue, 19 May 2009 11:21:58 +0000 (-0400) Subject: i2c: Blackfin TWI: fix REPEAT START mode doesn't repeat X-Git-Tag: v2.6.31-rc1~348^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57a8f32eafa6f36ea3a128e8b13f353c5a3ca9b2;p=pandora-kernel.git i2c: Blackfin TWI: fix REPEAT START mode doesn't repeat Avoid rewrite TWI MASTER_CTL reg when issue next message In i2c repeat transfer mode, byte count of next message should be filled into part of the TWI MASTER_CTL reg when interrupt MCOMP of last message transfer is triggered. But, other bits in this reg should not be touched. Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu [ben-linux@fluff.org: shorted subject] Signed-off-by: Ben Dooks --- Reading git-diff-tree failed