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