Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-30 Thread Thomas Gleixner
On Tue, 27 Oct 2015, Lars-Peter Clausen wrote: > On 10/27/2015 04:53 PM, Linus Walleij wrote: > > On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann > > wrote: > > > >> The driver uses runtime PM to leverage low power techniques. For > >> use-cases using GPIO as interrupt the device needs to be in

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-29 Thread Sören Brinkmann
On Tue, 2015-10-27 at 05:37PM +0100, Lars-Peter Clausen wrote: > On 10/27/2015 04:53 PM, Linus Walleij wrote: > > On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann > > wrote: > > > >> The driver uses runtime PM to leverage low power techniques. For > >> use-cases using GPIO as interrupt the device

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-28 Thread Linus Walleij
On Tue, Oct 27, 2015 at 6:54 PM, Grygorii Strashko wrote: > [Me] >> Do you mean that these functions contain calls to non-atomic >> functions? >> > > Oh. No, I have to be more specific :( > if GPIOx driver defines custom .irq_(request|release)_resources() callbacks > they will *overwrite* standard

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Grygorii Strashko
On 10/27/2015 06:23 PM, Linus Walleij wrote: > On Tue, Oct 27, 2015 at 5:18 PM, Grygorii Strashko > wrote: >> On 10/27/2015 05:53 PM, Linus Walleij wrote: >>> >>> On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann >>> wrote: >>> The driver uses runtime PM to leverage low power techniques. For

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Lars-Peter Clausen
On 10/27/2015 04:53 PM, Linus Walleij wrote: > On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann > wrote: > >> The driver uses runtime PM to leverage low power techniques. For >> use-cases using GPIO as interrupt the device needs to be in an >> appropriate state. >> >> Reported-by: John Linn >> S

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Linus Walleij
On Tue, Oct 27, 2015 at 5:18 PM, Grygorii Strashko wrote: > On 10/27/2015 05:53 PM, Linus Walleij wrote: >> >> On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann >> wrote: >> >>> The driver uses runtime PM to leverage low power techniques. For >>> use-cases using GPIO as interrupt the device needs

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Grygorii Strashko
On 10/27/2015 05:53 PM, Linus Walleij wrote: On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann wrote: The driver uses runtime PM to leverage low power techniques. For use-cases using GPIO as interrupt the device needs to be in an appropriate state. Reported-by: John Linn Signed-off-by: Soren

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Linus Walleij
On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann wrote: > The driver uses runtime PM to leverage low power techniques. For > use-cases using GPIO as interrupt the device needs to be in an > appropriate state. > > Reported-by: John Linn > Signed-off-by: Soren Brinkmann > Tested-by: John Linn A

[PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-23 Thread Soren Brinkmann
The driver uses runtime PM to leverage low power techniques. For use-cases using GPIO as interrupt the device needs to be in an appropriate state. Reported-by: John Linn Signed-off-by: Soren Brinkmann Tested-by: John Linn --- drivers/gpio/gpio-zynq.c | 20 1 file changed,