Skip to content

Commit

Permalink
i2c: omap: always return IRQ_HANDLED
Browse files Browse the repository at this point in the history
Always return IRQ_HANDLED otherwise we could get our IRQ line disabled due
to many spurious IRQs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[Trivial changes to commitlogs]
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
  • Loading branch information
Felipe Balbi authored and Wolfram Sang committed Sep 12, 2012
1 parent 3ff4443 commit 6a85ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
}
} while (stat);

return count ? IRQ_HANDLED : IRQ_NONE;
return IRQ_HANDLED;
}

static const struct i2c_algorithm omap_i2c_algo = {
Expand Down

0 comments on commit 6a85ced

Please sign in to comment.