On Monday 16 April 2012 11:43 PM, Tony Lindgren wrote: > * Shubhrajyoti D <shubhrajyoti@xxxxxx> [120412 06:10]: >> Currently i2c register restore is done always. >> Adding conditional restore. >> The i2c register restore is done only if the context is lost. >> Also remove the definition of SYSS_RESETDONE_MASK and use the >> one in omap_hwmod.h. >> >> Signed-off-by: Shubhrajyoti D <shubhrajyoti@xxxxxx> >> --- >> arch/arm/plat-omap/i2c.c | 3 ++ >> drivers/i2c/busses/i2c-omap.c | 52 ++++++++++++++++++++++++++-------------- >> include/linux/i2c-omap.h | 1 + >> 3 files changed, 38 insertions(+), 18 deletions(-) >> >> diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c >> index db071bc..4ccab07 100644 >> --- a/arch/arm/plat-omap/i2c.c >> +++ b/arch/arm/plat-omap/i2c.c >> @@ -179,6 +179,9 @@ static inline int omap2_i2c_add_bus(int bus_id) >> */ >> if (cpu_is_omap34xx()) >> pdata->set_mpu_wkup_lat = omap_pm_set_max_mpu_wakeup_lat_compat; >> + >> + pdata->get_context_loss_count = omap_pm_get_dev_context_loss_count; >> + >> pdev = omap_device_build(name, bus_id, oh, pdata, >> sizeof(struct omap_i2c_bus_platform_data), >> NULL, 0, 0); > This should be acked by Kevin, I should have cced Kevin. > adding him to Cc. Thanks. > For the arch/arm/plat-omap/i2c.c part: > > Acked-by: Tony Lindgren <tony@xxxxxxxxxxx> > Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html