Subject: [PATCH 8/8] gpio/omap: fix missing check in *_runtime_suspend()

From: [email-masked] (Santosh Shilimkar)
Date: Thu, 03 May 2012 16:46:02 +0530

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 <[email-masked]>
> Cc: Tony Lindgren <[email-masked]>
> Cc: Santosh Shilimkar <[email-masked]>
> Cc: Cousson, Benoit <[email-masked]>
> Cc: Grant Likely <[email-masked]>
> Signed-off-by: Tarun Kanti DebBarma <[email-masked]>
> ---
Looks good.
Reviewed-by: Santosh Shilimkar <[email-masked]>