pinctrl: qcom: spmi-gpio: make the irqchip immutable
authorRobert Marko <robimarko@gmail.com>
Fri, 24 Jun 2022 19:51:12 +0000 (21:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Jul 2022 23:04:51 +0000 (01:04 +0200)
commit7542766e78fc374d81d8c2db214c4b4308645277
tree741206083df1af2b68f96af12b841637af2228d4
parentd4c0b614b5a47d0b3870e89fd211b6e80f6973eb
pinctrl: qcom: spmi-gpio: make the irqchip immutable

Commit 6c846d026d49 ("gpio: Don't fiddle with irqchips marked as
immutable") added a warning to indicate if the gpiolib is altering the
internals of irqchips.

Following this change the following warning is now observed for the SPMI
PMIC pinctrl driver:
gpio gpiochip1: (200f000.spmi:pmic@0:gpio@c000): not an immutable chip, please consider fixing it!

Fix this by making the irqchip in the SPMI PMIC pinctrl driver immutable.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20220624195112.894916-1-robimarko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c