mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-02 07:00:42 -04:00
Merge tag 'i2c-for-6.19-final' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fix from Wolfram Sang: - imx: preserve error state during SMBus block read length handling * tag 'i2c-for-6.19-final' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: imx: preserve error state in block data length handler
This commit is contained in:
@@ -1103,7 +1103,8 @@ static irqreturn_t i2c_imx_master_isr(struct imx_i2c_struct *i2c_imx, unsigned i
|
||||
|
||||
case IMX_I2C_STATE_READ_BLOCK_DATA_LEN:
|
||||
i2c_imx_isr_read_block_data_len(i2c_imx);
|
||||
i2c_imx->state = IMX_I2C_STATE_READ_CONTINUE;
|
||||
if (i2c_imx->state == IMX_I2C_STATE_READ_BLOCK_DATA_LEN)
|
||||
i2c_imx->state = IMX_I2C_STATE_READ_CONTINUE;
|
||||
break;
|
||||
|
||||
case IMX_I2C_STATE_WRITE:
|
||||
|
||||
Reference in New Issue
Block a user