On Wed, May 18, 2022 at 9:30 PM Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> wrote: > On Renesas RZ/G2L SoC not all the GPIO pins can be simultaneously used as > interrupts. The SoC allows 32 interrupts which is first come first serve > basis and is dynamic i.e. if there is a free slot (after rmmod) this can > be used by other GPIO pins being used as an interrupt. > > To handle such cases change child_offset_to_irq() callback to return error > codes in case of failure. All the users of child_offset_to_irq() callback > are also updated with this API change. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> This looks very useful! Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij