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)
commit0c3dfa176912b5f87732545598200fb55e9c1978
treeaa6a7078c836d70c7c43d917c29fa872557473f4
parentb97760ae8e3dc8bb91881c13425a0bff55f2bd85
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