[PATCH 8/8] gpio/omap: fix missing check in *_runtime_suspend()
Santosh Shilimkar
santosh.shilimkar at ti.com
Thu May 3 07:16:02 EDT 2012
On Friday 27 April 2012 07:43 PM, Tarun Kanti DebBarma wrote:
> We do checking for bank->enabled_non_wakeup_gpios in order
> to skip redundant operations. Somehow, the check got missed
> while doing the cleanup series.
>
> Just to make sure that we do context restore correctly in
> *_runtime_resume(), the bank->workaround_enabled check is
> moved after context restore. Otherwise, it would prevent
> context restore when bank->enabled_non_wakeup_gpios is 0.
>
> Cc: Kevin Hilman <khilman at ti.com>
> Cc: Tony Lindgren <tony at atomide.com>
> Cc: Santosh Shilimkar <santosh.shilimkar at ti.com>
> Cc: Cousson, Benoit <b-cousson at ti.com>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti at ti.com>
> ---
Looks good.
Reviewed-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
More information about the linux-arm-kernel
mailing list