Re: [PATCH 1/8] pinctrl: stm32: fix bad location of gpiochip_lock_as_irq

2017-01-30 Thread Linus Walleij
On Fri, Jan 27, 2017 at 5:15 PM, Alexandre TORGUE wrote: > Move gpio lock as irq from "domain alloc" callback to "domain activate" > callback. It will allow to use gpiolib sysfs correctly. > > Signed-off-by: Alexandre TORGUE Patch applied. Yours, Linus Walleij

[PATCH 1/8] pinctrl: stm32: fix bad location of gpiochip_lock_as_irq

2017-01-27 Thread Alexandre TORGUE
Move gpio lock as irq from "domain alloc" callback to "domain activate" callback. It will allow to use gpiolib sysfs correctly. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index efc4371..b145431 100644 --- a/drivers/