diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-05-08 11:34:29 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-05-08 17:25:36 -0600 |
commit | aa8f6cefa1e0ba79deaf76c5a790ad167659c311 (patch) | |
tree | 0cd392ac4756c6e1e03717006a2d44eaf18362c6 /arch/arm | |
parent | 1c2badc1617661632034d8be5d22c8637b626cb7 (diff) | |
download | op-kernel-dev-aa8f6cefa1e0ba79deaf76c5a790ad167659c311.zip op-kernel-dev-aa8f6cefa1e0ba79deaf76c5a790ad167659c311.tar.gz |
ARM: OMAP4: hwmod data: I2C: add flag for context restore
Restore of context is not done for OMAP4. This patch
adds the OMAP_I2C_FLAG_RESET_REGS_POSTIDLE in the OMAP4
hwmod data which activates the restore for OMAP4.
Currently the OMAP4 does not hit device off still the
driver may have support for it.
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Wamsley <paul@pwsan.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 4906129..3a67ed0 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c @@ -1487,7 +1487,8 @@ static struct omap_hwmod_class omap44xx_i2c_hwmod_class = { }; static struct omap_i2c_dev_attr i2c_dev_attr = { - .flags = OMAP_I2C_FLAG_BUS_SHIFT_NONE, + .flags = OMAP_I2C_FLAG_BUS_SHIFT_NONE | + OMAP_I2C_FLAG_RESET_REGS_POSTIDLE, }; /* i2c1 */ |