]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: bcm2835: Make the irqchip immutable
authorStefan Wahren <stefan.wahren@i2se.com>
Tue, 14 Jun 2022 20:28:31 +0000 (22:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 25 Jun 2022 23:03:39 +0000 (01:03 +0200)
commit47dba04b5c7dfc949f41890c9ba168188e7281f2
tree67ee8e6666e081bdb1439cdf277e4445bab4d176
parent93402349bac295c7752a76c696fa022dc129b4a4
pinctrl: bcm2835: Make the irqchip immutable

Commit b120d0405095 ("gpio: Don't fiddle with irqchips marked as
immutable") added a warning to indicate if the gpiolib is altering the
internals of irqchips. The bcm2835 pinctrl is also affected by this
warning.

Fix this by making the irqchip in the bcm2835 pinctrl driver immutable.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220614202831.236341-3-stefan.wahren@i2se.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c