diff options
-rw-r--r-- | drivers/i2c/busses/i2c-mt65xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c index 7396449703a1..660de1ee68ed 100644 --- a/drivers/i2c/busses/i2c-mt65xx.c +++ b/drivers/i2c/busses/i2c-mt65xx.c | |||
@@ -642,8 +642,6 @@ static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs, | |||
642 | return -ETIMEDOUT; | 642 | return -ETIMEDOUT; |
643 | } | 643 | } |
644 | 644 | ||
645 | completion_done(&i2c->msg_complete); | ||
646 | |||
647 | if (i2c->irq_stat & (I2C_HS_NACKERR | I2C_ACKERR)) { | 645 | if (i2c->irq_stat & (I2C_HS_NACKERR | I2C_ACKERR)) { |
648 | dev_dbg(i2c->dev, "addr: %x, transfer ACK error\n", msgs->addr); | 646 | dev_dbg(i2c->dev, "addr: %x, transfer ACK error\n", msgs->addr); |
649 | mtk_i2c_init_hw(i2c); | 647 | mtk_i2c_init_hw(i2c); |