i2c: iproc: fix typo in slave_isr function
Fix typo in bcm_iproc_i2c_slave_isr(). Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Acked-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
Родитель
603e77af7b
Коммит
514bfc64ef
|
@ -382,7 +382,7 @@ static bool bcm_iproc_i2c_slave_isr(struct bcm_iproc_i2c_dev *iproc_i2c,
|
||||||
if (status & BIT(IS_S_START_BUSY_SHIFT)) {
|
if (status & BIT(IS_S_START_BUSY_SHIFT)) {
|
||||||
i2c_slave_event(iproc_i2c->slave, I2C_SLAVE_STOP, &value);
|
i2c_slave_event(iproc_i2c->slave, I2C_SLAVE_STOP, &value);
|
||||||
/*
|
/*
|
||||||
* Enable interrupt for TX FIFO becomes empty and
|
* Disable interrupt for TX FIFO becomes empty and
|
||||||
* less than PKT_LENGTH bytes were output on the SMBUS
|
* less than PKT_LENGTH bytes were output on the SMBUS
|
||||||
*/
|
*/
|
||||||
val = iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET);
|
val = iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче