android_kernel_xiaomi_sm8350/drivers/i2c
Jean Delvare 30dac74697 [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX
Drop I2C_SMBUS_I2C_BLOCK_MAX, use I2C_SMBUS_BLOCK_MAX instead.

I2C_SMBUS_I2C_BLOCK_MAX has always been defined to the same value as
I2C_SMBUS_BLOCK_MAX, and this will never change: setting it to a lower
value would make no sense, setting it to a higher value would break
i2c_smbus_data compatibility. There is no point in changing
i2c_smbus_data to support larger block transactions in SMBus mode, as
no SMBus hardware supports more than 32 byte blocks. Thus, for larger
transactions, direct I2C transfers are the way to go.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-10-28 14:02:10 -07:00
..
algos [PATCH] i2c: Discard explicit static initializations to 0 2005-10-28 14:02:06 -07:00
busses [PATCH] i2c: Cleanup i2c-i801 ifdefs 2005-10-28 14:02:09 -07:00
chips [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX 2005-10-28 14:02:10 -07:00
i2c-core.c [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX 2005-10-28 14:02:10 -07:00
i2c-dev.c [PATCH] i2c: Cleanup i2c-dev ioctl debug message 2005-10-28 14:02:08 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] hwmon: hwmon vs i2c, second round (07/11) 2005-09-05 09:14:22 -07:00