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

From: Mark Brown
Date: Mon Feb 08 2016 - 09:56:12 EST


On Sat, Feb 06, 2016 at 08:07:22PM +0530, Laxman Dewangan wrote:

> Before removing irq domains, it is require to unmap all
> mapped interrupt from that domain. Currently there is API
> to map the interrupt on chip as regmap_irq_get_virq() for
> creating mapping. Add equivalent API to dispose the mapped
> irq in irq domains.

This makes no sense to me. Why would you ever want to unmap the
interrupts separately to destroying the domain and why would you ever
want to destroy the domain without unmapping the interrupts?

Attachment: signature.asc
Description: PGP signature