diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-07-17 18:56:03 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-07-17 19:11:35 +0200 |
commit | 6f16b75a41abbbd11c4c8b7c62eb66604879b981 (patch) | |
tree | 6183b1ff9454533e8c4bd14809749052eb1fea3c /crypto/ripemd.h | |
parent | i2c: efm32: correct namespacing of location property (diff) | |
download | linux-6f16b75a41abbbd11c4c8b7c62eb66604879b981.tar.xz linux-6f16b75a41abbbd11c4c8b7c62eb66604879b981.zip |
i2c: stub: Add support for SMBus block commands
SMBus block commands are different to I2C block commands since
the returned data is not normally accessible with byte or word
commands on other command offsets. Add linked list of 'block'
commands to support those commands.
Access mechanism is quite simple: Block commands must be written
before they can be read. Subsequent writes can be partial. Block
read commands always return the number of bytes associated with
the longest previous write.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'crypto/ripemd.h')
0 files changed, 0 insertions, 0 deletions