Re: [PATCH v5 03/22] gpio/omap: make gpio_context part of gpio_bank structure

2011-08-26 Thread Santosh
On Friday 26 August 2011 01:53 AM, Kevin Hilman wrote: Santoshsantosh.shilim...@ti.com writes: On Thursday 04 August 2011 04:34 PM, Tarun Kanti DebBarma wrote: From: Charulatha Vch...@ti.com Currently gpio_context array used to save gpio bank's context, is used only for OMAP3 architecture.

Re: [PATCH v5 03/22] gpio/omap: make gpio_context part of gpio_bank structure

2011-08-25 Thread Kevin Hilman
Santosh santosh.shilim...@ti.com writes: On Thursday 04 August 2011 04:34 PM, Tarun Kanti DebBarma wrote: From: Charulatha Vch...@ti.com Currently gpio_context array used to save gpio bank's context, is used only for OMAP3 architecture. Move gpio_context as part of gpio_bank structure so

RE: [PATCH v5 03/22] gpio/omap: make gpio_context part of gpio_bank structure

2011-08-25 Thread DebBarma, Tarun Kanti
[...] @@ -1494,33 +1490,31 @@ void omap2_gpio_resume_after_idle(void) void omap_gpio_save_context(void) { struct gpio_bank *bank; - int i = 0; list_for_each_entry(bank,omap_gpio_list, node) { - i++; if (!bank-loses_context)

Re: [PATCH v5 03/22] gpio/omap: make gpio_context part of gpio_bank structure

2011-08-23 Thread Santosh
On Thursday 04 August 2011 04:34 PM, Tarun Kanti DebBarma wrote: From: Charulatha Vch...@ti.com Currently gpio_context array used to save gpio bank's context, is used only for OMAP3 architecture. Move gpio_context as part of gpio_bank structure so that it can be specific to each gpio bank and