From: Shinya Kuribayashi Date: Fri, 6 Nov 2009 12:47:30 +0000 (+0900) Subject: i2c-designware: i2c_dw_xfer_msg: Fix i2c_msg search bug X-Git-Tag: v2.6.33-rc1~339^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70c5cd37413c3fa3503212d26ffdf6df535c9de;p=pandora-kernel.git i2c-designware: i2c_dw_xfer_msg: Fix i2c_msg search bug In case a work-in-progress i2c_msg has more bytes to be written, we need to set STATUS_WRITE_IN_PROGRESS and exit from the msg_write_idx- searching loop. Otherwise, we will overtake the current msg_write_idx without waiting for its transmission to be processed. Signed-off-by: Shinya Kuribayashi Signed-off-by: Ben Dooks --- Reading git-diff-tree failed