RE: [PATCH] gpio: rcar: Request GPIO while enabling interrupt

2018-11-06 Thread Fabrizio Castro
Hello Geert, Thank you for your feedback! > Subject: Re: [PATCH] gpio: rcar: Request GPIO while enabling interrupt > > Hi Fabrizio, > > On Fri, Nov 2, 2018 at 8:10 PM Fabrizio Castro > wrote: > > There are cases when the bootloader configures a pin to work > >

Re: [PATCH] gpio: rcar: Request GPIO while enabling interrupt

2018-11-05 Thread Geert Uytterhoeven
Hi Fabrizio, On Fri, Nov 2, 2018 at 8:10 PM Fabrizio Castro wrote: > There are cases when the bootloader configures a pin to work > as a function rather than GPIO, and other cases when the pin > is configured as a function at POR. > This commit makes sure the pin is configured as a GPIO the >

[PATCH] gpio: rcar: Request GPIO while enabling interrupt

2018-11-02 Thread Fabrizio Castro
There are cases when the bootloader configures a pin to work as a function rather than GPIO, and other cases when the pin is configured as a function at POR. This commit makes sure the pin is configured as a GPIO the moment we need it to work as an interrupt. Signed-off-by: Fabrizio Castro ---