On Thu, Feb 02, 2023 at 03:11:34PM +0530, Manikanta Guntupalli wrote: > From: Raviteja Narayanam > > smbus_block_read is added to xiic driver to read from few sensors > which support this command. Since the number of bytes to read is not > known prior to transfer, xiic standard mode is being used for low level > control of IP. > > Signed-off-by: Raviteja Narayanam > Signed-off-by: Manikanta Guntupalli > Acked-by: Michal Simek Applied to for-next, thanks! > - return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL; > + return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL | I2C_FUNC_SMBUS_BLOCK_DATA; Note: Since you implemented I2C_M_RECV_LEN anyhow, you get the emulated I2C_FUNC_SMBUS_BLOCK_PROC_CALL basically for free, so you could also use I2C_FUNC_SMBUS_EMUL_ALL here. If you'd like this, please send an incremental patch.