]> Pileus Git - ~andy/linux/commit
ARM: EXYNOS: Fix i2c suspend/resume for legacy controller
authorAbhilash Kesavan <a.kesavan@samsung.com>
Tue, 20 Nov 2012 09:20:45 +0000 (18:20 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 20 Nov 2012 09:21:03 +0000 (18:21 +0900)
commit86ffb0e83a55aef81e96a9cede28af576c9d5541
treedef9b87a007dbc1a057bb85c6f44624b78c8a054
parentb9fa3e7b31928c0d767bf8e13ffbc6f35c20cac0
ARM: EXYNOS: Fix i2c suspend/resume for legacy controller

On resuming from suspend the i2c configuration register that is part
of system controller resets to 0xf. This sets the interrupt source to
the new high speed i2c rather than the legacy one that we are using.
Save and restore the I2C_CFG register for exynos5 to fix this.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm.c