commit | d4b35d25a62e0617576ca4cfc334628a5a2d266a | [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 | 57047e0479ea9141a74af78cf8f0a6e9dc2630c4 [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>