]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i2c: omap: always return IRQ_HANDLED
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Sep 2012 10:58:08 +0000 (16:28 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:03:19 +0000 (15:03 +0200)
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>
drivers/i2c/busses/i2c-omap.c

index 7918e48c7fd38794c1562f1b5cbc51ee9b906f99..96fd528e888ab3fa55f34f4b9c82f91e2373cb18 100644 (file)
@@ -962,7 +962,7 @@ complete:
                }
        } while (stat);
 
-       return count ? IRQ_HANDLED : IRQ_NONE;
+       return IRQ_HANDLED;
 }
 
 static const struct i2c_algorithm omap_i2c_algo = {