Re: [PATCH 1/2] genirq: allow irq_set_chip_handler_name_locked() to take a const irq_chip
From: Linus Walleij
Date: Mon Jul 11 2022 - 08:14:59 EST
On Mon, Jul 11, 2022 at 11:11 AM Marc Zyngier <maz@xxxxxxxxxx> wrote:
> On Wed, 06 Jul 2022 16:15:52 +0100,
> Michael Walle <michael@xxxxxxxx> wrote:
> >
> > Similar to commit 393e1280f765 ("genirq: Allow irq_chip registration
> > functions to take a const irq_chip"), allow the
> > irq_set_chip_handler_name_locked() function to take a const irq_chip
> > argument.
> >
> > Signed-off-by: Michael Walle <michael@xxxxxxxx>
> > ---
> > Given this is the correct approach, can this go through the pinctrl tree?
> > Of not, do we need an immutable tag?
>
> I'd prefer this sort of change went into the IRQ tree, as it
> potentially has a wide ranging effect, and that the rest of these
> changes went via the IRQ tree too. It makes it easy to take the branch
> down if something goes wrong.
>
> Given that I already do carry a bunch of GPIO related patches, I'm
> happy to add that to the mix if Linus ack the second patch.
I ACKed it! Go ahead.
Yours,
Linus Walleij