Skip to content
Commit 84a107e6 authored by Matt Johnston's avatar Matt Johnston Committed by David S. Miller
Browse files

i2c: dev: Handle 255 byte blocks for i2c ioctl



I2C_SMBUS is limited to 32 bytes due to compatibility with the
32 byte i2c_smbus_data.block

I2C_RDWR allows larger transfers if sufficient sized buffers are passed.

Signed-off-by: default avatarMatt Johnston <matt@codeconstruct.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13cae4a1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment