summaryrefslogtreecommitdiff
path: root/fs/cramfs
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-07-17 20:56:03 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-07-17 21:11:35 +0400
commit6f16b75a41abbbd11c4c8b7c62eb66604879b981 (patch)
tree6183b1ff9454533e8c4bd14809749052eb1fea3c /fs/cramfs
parent281ec367bff42304e0dc5cbc8d267ce9251478b7 (diff)
downloadlinux-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/cramfs')
0 files changed, 0 insertions, 0 deletions