diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-07-17 20:56:03 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-07-17 21:11:35 +0400 |
commit | 6f16b75a41abbbd11c4c8b7c62eb66604879b981 (patch) | |
tree | 6183b1ff9454533e8c4bd14809749052eb1fea3c /fs/ocfs2/super.h | |
parent | 281ec367bff42304e0dc5cbc8d267ce9251478b7 (diff) | |
download | linux-6f16b75a41abbbd11c4c8b7c62eb66604879b981.tar.xz |
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 'fs/ocfs2/super.h')
0 files changed, 0 insertions, 0 deletions