]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: stm32: fix bad location of gpiochip_lock_as_irq
authorAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 27 Jan 2017 16:15:14 +0000 (17:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jan 2017 15:26:28 +0000 (16:26 +0100)
commit64ba3de91e796b2558940bf22f1c086b1aa7f358
tree056e8a96747c4aaef60e1f7fb4bdf6f99940b6eb
parentf062944c5c0a9bd3e522a4befde03e31b8aec098
pinctrl: stm32: fix bad location of gpiochip_lock_as_irq

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 <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c