[PATCH] pinctrl: microchip-sgpio: make irq_chip immutable

Linus Walleij linus.walleij at linaro.org
Thu May 5 07:55:01 PDT 2022


On Thu, Apr 28, 2022 at 1:16 PM Michael Walle <michael at walle.cc> wrote:

> Since recently, the kernel is nagging about mutable irq_chips:
>
> [    4.967050] gpio gpiochip1: (e2004190.gpio-input): not an immutable chip, please consider fixing it!
>
> Drop the unneeded copy, flag it as IRQCHIP_IMMUTABLE, add the new
> helper functions and call the appropriate gpiolib functions.
>
> Signed-off-by: Michael Walle <michael at walle.cc>

Patch applied after pulling in Marc's immutable branch.

(Hm a bit confusing since it is a immutable branch with code
for immutable GPIO chips ... I assume it is both.)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list