From: Kristen Carlson Accardi Date: Tue, 10 Apr 2012 13:15:41 +0000 (+0100) Subject: i2c: prevent spurious interrupt on Designware controllers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3a48d1c08fe0db79b8647b7042e6a077588b374a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git i2c: prevent spurious interrupt on Designware controllers Don't call i2c_enable on resume because it causes a spurious interrupt. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 37f42113af31..00e8f213f56e 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -182,7 +182,6 @@ static int i2c_dw_pci_resume(struct device *dev) pci_restore_state(pdev); i2c_dw_init(i2c); - i2c_dw_enable(i2c); return 0; }