summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorKristen Carlson Accardi <kristen@linux.intel.com>2012-04-10 14:15:41 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-10 08:09:03 -0700
commit3a48d1c08fe0db79b8647b7042e6a077588b374a (patch)
tree2467fb15faf39c237e40b331161f13a90d877565 /drivers/i2c
parent258f742635360175564e9470eb060ff4d4b984e7 (diff)
downloadlinux-3a48d1c08fe0db79b8647b7042e6a077588b374a.tar.bz2
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 <kristen@linux.intel.com> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-designware-pcidrv.c1
1 files changed, 0 insertions, 1 deletions
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;
}