diff options
author | Zhangfei Gao <zgao6@marvell.com> | 2010-03-02 12:23:49 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-03-02 12:23:49 +0100 |
commit | 0c43ea544c1086fbbed5a6c99ea58eb64674ea8f (patch) | |
tree | 1d50d78c261cd011667c12134d93f2d6d2caa6e5 /include/linux | |
parent | eec74a257f0a695688ba44c0f6c1e92dc81459be (diff) | |
download | kernel_samsung_espresso10-0c43ea544c1086fbbed5a6c99ea58eb64674ea8f.zip kernel_samsung_espresso10-0c43ea544c1086fbbed5a6c99ea58eb64674ea8f.tar.gz kernel_samsung_espresso10-0c43ea544c1086fbbed5a6c99ea58eb64674ea8f.tar.bz2 |
i2c: Document the message size limit
i2c_master_send & i2c_master_recv do not support more than 64 kb
transfer, since msg.len is u16.
Signed-off-by: Zhangfei Gao <zgao6@marvell.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 476abd0..0a5da63 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -53,6 +53,7 @@ struct i2c_board_info; * on a bus (or read from them). Apart from two basic transfer functions to * transmit one message at a time, a more complex version can be used to * transmit an arbitrary number of messages without interruption. + * @count must be be less than 64k since msg.len is u16. */ extern int i2c_master_send(struct i2c_client *client, const char *buf, int count); |