diff options
author | Felipe Balbi <balbi@ti.com> | 2012-09-12 16:28:08 +0530 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-09-12 15:03:19 +0200 |
commit | 6a85ced2cf299b916c04499b2c3d7b353cc2101f (patch) | |
tree | fb6698cb60784fd13e7c5bc4f83bf652880ad85a | |
parent | 3ff4443f888207359a561db60a9cb96aa136b8f3 (diff) | |
download | op-kernel-dev-6a85ced2cf299b916c04499b2c3d7b353cc2101f.zip op-kernel-dev-6a85ced2cf299b916c04499b2c3d7b353cc2101f.tar.gz |
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: 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>
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 7918e48..96fd528 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -962,7 +962,7 @@ complete: } } while (stat); - return count ? IRQ_HANDLED : IRQ_NONE; + return IRQ_HANDLED; } static const struct i2c_algorithm omap_i2c_algo = { |