commit | 98ab14e858bf60306d0aa3f0df5a7a5f88264aff | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Mon Jun 29 15:48:33 2009 -0400 |
committer | Heiko Schocher <hs@denx.de> | Tue Jun 30 08:27:45 2009 +0200 |
tree | 412c45f36acd5164bbebfbf9e3c51a9c0c243292 | |
parent | 3e88337b225bf796f6df21d0a7f591530e9d4ce0 [diff] |
Blackfin: TWI/I2C: fix pure writes If doing a pure write with register address and data (not a read/write combo transfer), we don't set the initial transfer length properly which ends up causing only the register address to be transferred. While we're here, fix the i2c_write() parameter description of the buffer. Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>