i2c: s3c2410: Handle i2c sys_cfg register in i2c driver
authorPankaj Dubey <pankaj.dubey@samsung.com>
Mon, 24 Nov 2014 08:33:38 +0000 (14:03 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 24 Nov 2014 09:37:14 +0000 (10:37 +0100)
commita7750c3ef0122383901ae48396188aa4b861d32b
tree9a268b9c44a39e3f61c7e7e5adadf1063eb142e6
parent80f1774f967a16b1909628cd1ca3d5c30a32aac1
i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

Let's handle i2c interrupt re-configuration in i2c driver. This will
help us in removing some soc specific checks from machine files and
will help in removing static iomapping of SYS register in exynos.c

Also handle saving and restoring of SYS_I2C_CFG register during
suspend and resume of i2c driver.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-s3c2410.c