Re: [PATCH] mfd: max77620: Do not allocate IRQs upfront
From: Lee Jones
Date: Fri Oct 04 2019 - 10:36:13 EST
On Wed, 02 Oct 2019, Thierry Reding 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>
> ---
> drivers/mfd/max77620.c | 5 ++---
> include/linux/mfd/max77620.h | 1 -
> 2 files changed, 2 insertions(+), 4 deletions(-)
Applied, thanks.
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog