[PATCH v4 2/2] gpio/omap: auto request GPIO as input if used as IRQ via DT

2013-06-28 Thread Javier Martinez Canillas
When an OMAP GPIO is used as an IRQ line, a call to gpio_request() has to be made to initialize the OMAP GPIO bank before a driver request the IRQ. Otherwise the call to request_irq() fails. Drives should not be aware of this neither care wether an IRQ line is a GPIO or not. They should just

Re: [PATCH v4 2/2] gpio/omap: auto request GPIO as input if used as IRQ via DT

2013-06-28 Thread Santosh Shilimkar
On Friday 28 June 2013 11:27 AM, Javier Martinez Canillas wrote: When an OMAP GPIO is used as an IRQ line, a call to gpio_request() has to be made to initialize the OMAP GPIO bank before a driver request the IRQ. Otherwise the call to request_irq() fails. Drives should not be aware of this