same check we had on the threaded IRQ handler, copy it to the bottom half. Signed-off-by: Felipe Balbi <balbi@xxxxxx> --- drivers/i2c/busses/i2c-omap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 9dadfb1..e555681 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -871,6 +871,9 @@ omap_i2c_isr(int irq, void *_dev) u16 stat; u16 bits; + if (pm_runtime_suspended(dev->dev)) + return IRQ_NONE; + stat = omap_i2c_read_reg(dev, OMAP_I2C_STAT_REG); bits = omap_i2c_read_reg(dev, OMAP_I2C_IE_REG); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html