Re: [PATCH] regmap: irq: Free the irqdomain we create
From: Mark Brown
Date: Fri Sep 04 2026 - 15:35:55 EST
On Fri, Sep 04, 2026 at 09:05:26PM +0200, Thomas Gleixner wrote:
> On Fri, Sep 04 2026 at 21:00, Thomas Gleixner wrote:
> > if (irq_base > 0)
> > irq_domain_free_irqs(irq_base, chip->num_irqs);
> Hit send too fast. That stupidly works only when hierarchical domains
> are enabled.
> So you need:
> if (irq_base > 0) {
> for (unsigned int i = 0; i < chip->num_irqs; i++)
> irq_dispose_mapping(irq_base + i);
> }
> irqdomain_remove_domain();
Ah, thanks - I'd expected removing the domain to clean everything up.
Attachment:
signature.asc
Description: PGP signature