Skip to content

Commit

Permalink
i2c: prevent spurious interrupt on Designware controllers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kristen Carlson Accardi authored and Linus Torvalds committed Apr 10, 2012
1 parent 258f742 commit 3a48d1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-designware-pcidrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3a48d1c

Please sign in to comment.