RE: [PATCH v2] gpiolib: Fix GPIO chip IRQ initialization restriction

From: Jiawen Wu
Date: Thu Jun 15 2023 - 22:20:54 EST


> I used to be rough at fixing in my test, I tried to set gc->irq.domain = NULL
> after calling irq_domain_remove() in gpiochip_irqchip_remove().

I'm sorry I remember wrong, 'gc->irq.domain = NULL' was set in regmap_del_irq_chip()
and then called gpiochip_irqchip_remove(). :)