Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
twsi: fix support for a transfer where a write is followed by a write
... and the first write has no-stop flag while the next write has no-start flag. In this case we do not need to send any stop or start or repeated start. We can just keep writing bytes. Anything else confuses the target device. Such a transfer can be created by i2c tool, e.g., for an EEPROM write at specific offset: i2c -m tr -a 0x50 -d w -w 16 -o 0 -c 8 -v < /dev/random i2c -m tr -a 0x50 -d r -w 16 -o 0 -c 16 -v
- Loading branch information