Jean Delvare
838bfa6049
i2c-dev: Add support for I2C_M_RECV_LEN
...
As the bus driver side implementation of I2C_M_RECV_LEN is heavily
tied to SMBus, we can't support received length over 32 bytes, but
let's at least support that.
In practice, the caller will have to setup a buffer large enough to
cover the case where received length byte has value 32, so minimum
32 + 1 = 33 bytes, possibly more if there is a fixed number of bytes
added for the specific slave (for example a checksum.)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
2012-05-30 10:55:34 +02:00
..
2012-05-29 20:14:53 -07:00
2012-05-26 12:22:27 -07:00
2012-05-26 12:42:29 -07:00
2012-05-29 16:22:19 -07:00
2012-05-24 11:54:29 -07:00
2012-05-21 20:20:23 -07:00
2012-05-24 11:54:29 -07:00
2012-05-24 12:42:54 -07:00
2012-05-26 13:05:55 -07:00
2012-05-26 12:42:29 -07:00
2012-05-23 14:07:06 -07:00
2012-05-26 12:57:47 -07:00
2012-05-29 18:32:37 -07:00
2012-05-22 16:02:13 -07:00
2012-05-24 12:57:47 -07:00
2012-05-29 18:27:19 -07:00
2012-05-24 12:42:54 -07:00
2012-05-22 19:22:50 -07:00
2012-05-22 16:02:13 -07:00
2012-05-23 14:15:09 -07:00
2012-05-30 10:55:34 +02:00
2012-05-21 17:54:55 -07:00
2012-05-29 11:53:11 -07:00
2012-05-26 12:22:27 -07:00
2012-05-24 11:54:29 -07:00
2012-05-29 16:22:32 -07:00
2012-05-23 17:08:40 -07:00
2012-05-26 12:42:29 -07:00
2012-05-29 11:53:11 -07:00
2012-05-29 11:53:11 -07:00
2012-05-26 12:57:47 -07:00
2012-05-29 18:27:19 -07:00
2012-05-26 12:42:29 -07:00
2012-05-29 18:27:19 -07:00
2012-05-22 19:22:50 -07:00
2012-05-22 16:02:13 -07:00
2012-05-29 18:27:19 -07:00
2012-05-26 13:05:55 -07:00
2012-05-29 16:22:30 -07:00
2012-05-29 11:53:11 -07:00
2012-05-22 19:22:50 -07:00
2012-05-29 11:53:11 -07:00
2012-05-22 19:22:50 -07:00
2012-05-29 16:22:34 -07:00
2012-05-24 16:17:30 -07:00
2012-05-23 17:12:06 -07:00
2012-05-22 19:07:55 +09:00
2012-05-26 13:05:55 -07:00
2012-05-29 16:22:22 -07:00
2012-05-23 16:52:27 -07:00
2012-05-29 18:27:19 -07:00
2012-05-26 12:42:29 -07:00
2012-05-29 16:22:31 -07:00
2012-05-22 12:16:15 +09:30
2012-05-26 12:42:29 -07:00
2012-05-29 18:27:19 -07:00
2012-05-29 20:14:53 -07:00
2012-05-22 16:34:21 -07:00
2012-05-26 12:22:27 -07:00