Re: [PATCH V4 1/6] regmap: irq: add apis to unmap the mapped irq

From: Laxman Dewangan
Date: Tue Feb 09 2016 - 00:28:15 EST



On Monday 08 February 2016 11:49 PM, Mark Brown wrote:
* PGP Signed by an unknown key

On Mon, Feb 08, 2016 at 10:26:20PM +0530, Laxman Dewangan wrote:

So fix need to go in the irq_domain_remove() to unamp before actually
destroying the irq domain?
That's one option, but you could also do this at the regmap-irq level.


Do we need to dispose all virtual irq in regmap_del_irq_chip() before actually removing domain?
This means we need to store the created virq in regmap_irq_chip_data for disposing it when removing the irq domain.