diff options
author | 2021-11-15 10:49:22 +0800 | |
---|---|---|
committer | 2021-11-15 14:11:24 +0000 | |
commit | 84a107e68b34217eff536e81a6a6f419ee0d0f7e (patch) | |
tree | 3beaf1ebf78e6a4330445b81b4dba7b78dc8b453 /net/core | |
parent | i2c: core: Allow 255 byte transfers for SMBus 3.x (diff) | |
download | wireguard-linux-84a107e68b34217eff536e81a6a6f419ee0d0f7e.tar.xz wireguard-linux-84a107e68b34217eff536e81a6a6f419ee0d0f7e.zip |
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: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions