aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-09-12 06:58:08 -0400
committerWolfram Sang <w.sang@pengutronix.de>2012-09-12 09:03:19 -0400
commit6a85ced2cf299b916c04499b2c3d7b353cc2101f (patch)
treefb6698cb60784fd13e7c5bc4f83bf652880ad85a /drivers
parent3ff4443f888207359a561db60a9cb96aa136b8f3 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/i2c-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 7918e48c7fd3..96fd528e888a 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -962,7 +962,7 @@ complete:
962 } 962 }
963 } while (stat); 963 } while (stat);
964 964
965 return count ? IRQ_HANDLED : IRQ_NONE; 965 return IRQ_HANDLED;
966} 966}
967 967
968static const struct i2c_algorithm omap_i2c_algo = { 968static const struct i2c_algorithm omap_i2c_algo = {