Kevin Hilman <[email protected]> writes:

[...]
>> @@ -1394,11 +1409,17 @@ void omap2_gpio_resume_after_idle(void)
>>              for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++)
>>                      clk_enable(bank->dbck);
>>  
>> -            if (!workaround_enabled)
>> +            pdev = to_platform_device(bank->dev);
>> +            ctx_lost_cnt_after = omap_device_get_context_loss_count(pdev);
>> +
>> +            if (ctx_lost_cnt_after == bank->ctx_lost_cnt_before)
>>                      continue;
>>  
>> +            if (!workaround_enabled)
>> +                    goto restore_gpio_ctx;
>
> Now that these functions are all bank-specific, this
> 'workaround_enabled' flag should be made per-bank.

Oops, ignore this comment... I see it's done in the next patch.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to