• Jean Delvare's avatar
    [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX · 30dac746
    Jean Delvare authored
    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: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    30dac746
eeprom.c 7.02 KB