summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>2009-11-06 13:47:30 +0100
committerBen Dooks <ben-linux@fluff.org>2009-12-09 01:19:10 +0100
commitc70c5cd37413c3fa3503212d26ffdf6df535c9de (patch)
tree4300e286c5f0d30138404217679d08729a45a1d7 /drivers/pci
parenti2c-designware: Improved _HCNT/_LCNT calculation (diff)
downloadlinux-c70c5cd37413c3fa3503212d26ffdf6df535c9de.tar.xz
linux-c70c5cd37413c3fa3503212d26ffdf6df535c9de.zip
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions