aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/i2c/writing-clients
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/i2c/writing-clients')
-rw-r--r--Documentation/i2c/writing-clients8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/i2c/writing-clients b/Documentation/i2c/writing-clients
index d4cd4126d1ad..ba5d1971f35f 100644
--- a/Documentation/i2c/writing-clients
+++ b/Documentation/i2c/writing-clients
@@ -598,10 +598,10 @@ be added back later if needed:
598 u8 command, u8 length, 598 u8 command, u8 length,
599 u8 *values) 599 u8 *values)
600 600
601All these transactions return -1 on failure. The 'write' transactions 601All these transactions return a negative errno value on failure. The 'write'
602return 0 on success; the 'read' transactions return the read value, except 602transactions return 0 on success; the 'read' transactions return the read
603for read_block, which returns the number of values read. The block buffers 603value, except for block transactions, which return the number of values
604need not be longer than 32 bytes. 604read. The block buffers need not be longer than 32 bytes.
605 605
606You can read the file `smbus-protocol' for more information about the 606You can read the file `smbus-protocol' for more information about the
607actual SMBus protocol. 607actual SMBus protocol.