]> Pileus Git - ~andy/linux/commitdiff
I2C: OMAP: correct SYSC register offset for OMAP4
authorAlexander Aring <a.aring@phytec.de>
Thu, 8 Dec 2011 14:43:53 +0000 (15:43 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 17 Jan 2012 22:44:52 +0000 (22:44 +0000)
Correct OMAP_I2C_SYSC_REG offset in omap4 register map.
Offset 0x20 is reserved and OMAP_I2C_SYSC_REG has 0x10 as offset.

Signed-off-by: Alexander Aring <a.aring@phytec.de>
[khilman@ti.com: minor changelog edits]
Cc: stable@vger.kernel.org
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/i2c/busses/i2c-omap.c

index fa23faa20f0e34435881e24abc6d5e4c9545a259..257c1a52c8c43537da2469d739d9d435534109a0 100644 (file)
@@ -235,7 +235,7 @@ static const u8 reg_map_ip_v2[] = {
        [OMAP_I2C_BUF_REG] = 0x94,
        [OMAP_I2C_CNT_REG] = 0x98,
        [OMAP_I2C_DATA_REG] = 0x9c,
-       [OMAP_I2C_SYSC_REG] = 0x20,
+       [OMAP_I2C_SYSC_REG] = 0x10,
        [OMAP_I2C_CON_REG] = 0xa4,
        [OMAP_I2C_OA_REG] = 0xa8,
        [OMAP_I2C_SA_REG] = 0xac,