]> git.baikalelectronics.ru Git - kernel.git/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)
commitd2922dc56ed188c098aca22dfd70f9f4f65ce0c8
treedef9b87a007dbc1a057bb85c6f44624b78c8a054
parent2b328331fba96456e1fe01717c404a456c835c03
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