[PATCH v7 05/26] gpio/omap: handle save/restore context in GPIO driver
Tony Lindgren
tony at atomide.com
Wed Sep 21 10:48:27 EDT 2011
* Tarun Kanti DebBarma <tarun.kanti at ti.com> [110913 05:29]:
> From: Charulatha V <charu at ti.com>
>
> Modify omap_gpio_prepare_for_idle() & omap_gpio_resume_after_idle() functions
> to handle save context & restore context respectively in the OMAP GPIO driver
> itself instead of calling these functions from pm specific files.
> For this, in gpio_prepare_for_idle(), call *_get_context_loss_count() and in
> gpio_resume_after_idle() call it again. If the count is different, do restore
> context. The workaround_enabled flag is no more required and is removed.
>
> Signed-off-by: Charulatha V <charu at ti.com>
> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti at ti.com>
> Reviewed-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
This to should be also acked by Kevin, looks OK to me:
Acked-by: Tony Lindgren <tony at atomide.com>
More information about the linux-arm-kernel
mailing list