From: Yi Zhang <[email protected]>

Change-Id: Ic8b247e46950bc6b9bc0b9dfb655a3aabbd15638
Signed-off-by: Yi Zhang <[email protected]>

diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index cca387b..833ab4d 100644
--- a/drivers/i2c/busses/i2c-pxa.c
+++ b/drivers/i2c/busses/i2c-pxa.c
@@ -1225,6 +1225,8 @@ static int i2c_pxa_probe(struct platform_device *dev)
 
        i2c_pxa_reset(i2c);
 
+       disable_irq(i2c->irq);
+
        i2c->adap.algo_data = i2c;
        i2c->adap.dev.parent = &dev->dev;
 #ifdef CONFIG_OF
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to