diff options
| -rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index a69665788513..5c508ccf4384 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
| @@ -685,8 +685,10 @@ omap_i2c_isr(int this_irq, void *dev_id) | |||
| 685 | err |= OMAP_I2C_STAT_AL; | 685 | err |= OMAP_I2C_STAT_AL; |
| 686 | } | 686 | } |
| 687 | if (stat & (OMAP_I2C_STAT_ARDY | OMAP_I2C_STAT_NACK | | 687 | if (stat & (OMAP_I2C_STAT_ARDY | OMAP_I2C_STAT_NACK | |
| 688 | OMAP_I2C_STAT_AL)) | 688 | OMAP_I2C_STAT_AL)) { |
| 689 | omap_i2c_complete_cmd(dev, err); | 689 | omap_i2c_complete_cmd(dev, err); |
| 690 | return IRQ_HANDLED; | ||
| 691 | } | ||
| 690 | if (stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR)) { | 692 | if (stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR)) { |
| 691 | u8 num_bytes = 1; | 693 | u8 num_bytes = 1; |
| 692 | if (dev->fifo_size) { | 694 | if (dev->fifo_size) { |
