From: Felipe Balbi Date: Wed, 12 Sep 2012 10:58:08 +0000 (+0530) Subject: i2c: omap: always return IRQ_HANDLED X-Git-Tag: next-20120913~91^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6a85ced2cf299b916c04499b2c3d7b353cc2101f;p=karo-tx-linux.git 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 [Trivial changes to commitlogs] Signed-off-by: Shubhrajyoti D Signed-off-by: Wolfram Sang --- 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: } } while (stat); - return count ? IRQ_HANDLED : IRQ_NONE; + return IRQ_HANDLED; } static const struct i2c_algorithm omap_i2c_algo = {