Re: [PATCH 2/3] gpio: max77620: Do not allocate IRQs upfront

From: Linus Walleij
Date: Fri Oct 04 2019 - 18:01:18 EST


On Wed, Oct 2, 2019 at 2:28 PM Thierry Reding <thierry.reding@xxxxxxxxx> wrote:

> From: Thierry Reding <treding@xxxxxxxxxx>
>
> regmap_add_irq_chip() will try to allocate all of the IRQ descriptors
> upfront if passed a non-zero irq_base parameter. However, the intention
> is to allocate IRQ descriptors on an as-needed basis if possible. Pass 0
> instead of -1 to fix that use-case.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij

Yours,
Linus Walleij