summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-05-30 10:55:34 +0200
committerJean Delvare <khali@endymion.delvare>2012-05-30 10:55:34 +0200
commit838bfa6049fb84dc66c9c9bbeb3a968ec987fd3d (patch)
tree5c6cf6d3d7dee7514f62b874b50bf88726144b11 /drivers/i2c/algos/i2c-algo-bit.c
parent731a7378b81c2f5fa88ca1ae20b83d548d5613dc (diff)
downloadblackbird-op-linux-838bfa6049fb84dc66c9c9bbeb3a968ec987fd3d.tar.gz
blackbird-op-linux-838bfa6049fb84dc66c9c9bbeb3a968ec987fd3d.zip
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>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud