Shinya Kuribayashi c70c5cd374 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 <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-12-09 00:19:10 +00:00
..
2009-06-16 22:42:16 +01:00
2009-06-16 22:42:16 +01:00
2009-06-16 22:42:16 +01:00
2009-07-15 00:03:56 +01:00
2009-06-16 22:42:16 +01:00
2009-12-06 17:06:27 +01:00
2008-01-27 18:14:45 +01:00
2009-05-05 08:39:24 +02:00
2009-06-16 22:42:16 +01:00
2009-06-16 22:42:16 +01:00
2009-04-07 10:23:34 +01:00
2009-04-07 10:23:34 +01:00
2009-07-15 00:03:56 +01:00
2008-04-11 12:07:05 +02:00
2009-06-16 22:42:16 +01:00
2009-01-26 21:19:52 +01:00
2009-12-06 17:06:21 +01:00
2009-12-06 17:06:21 +01:00