Skip to content
Snippets Groups Projects
Commit 98ab14e8 authored by Peter Meerwald's avatar Peter Meerwald Committed by Heiko Schocher
Browse files

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: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 3e88337b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment