Commit 6a85ced2 authored by Felipe Balbi's avatar Felipe Balbi Committed by Wolfram Sang

i2c: omap: always return IRQ_HANDLED

Always return IRQ_HANDLED otherwise we could get our IRQ line disabled due
to many spurious IRQs.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
[Trivial changes to commitlogs]
Signed-off-by: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent 3ff4443f
...@@ -962,7 +962,7 @@ omap_i2c_isr(int this_irq, void *dev_id) ...@@ -962,7 +962,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
} }
} while (stat); } while (stat);
return count ? IRQ_HANDLED : IRQ_NONE; return IRQ_HANDLED;
} }
static const struct i2c_algorithm omap_i2c_algo = { static const struct i2c_algorithm omap_i2c_algo = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment