]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: at91: don't use the same irqchip with multiple gpiochips
authorLudovic Desroches <ludovic.desroches@microchip.com>
Thu, 13 Sep 2018 12:42:13 +0000 (14:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Sep 2018 08:58:54 +0000 (10:58 +0200)
commitfeb2a5ed6b9bb0103e3da88612210810124c5204
treeaa6a7078c836d70c7c43d917c29fa872557473f4
parentc8bd22814c5c90a7dec839fdffeea2ff0505f38f
pinctrl: at91: don't use the same irqchip with multiple gpiochips

Sharing the same irqchip with multiple gpiochips is not a good
practice. For instance, when installing hooks, we change the state
of the irqchip. The initial state of the irqchip for the second
gpiochip to register is then disrupted.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c