Re: [PATCH V2 2/4] mfd: Interrupt handling support for AIC family

From: Mark Brown
Date: Wed May 01 2013 - 11:47:59 EST


On Tue, Apr 16, 2013 at 07:14:20PM +0530, Mehar Bajwa wrote:
> This provides Interrupt handling features for common interface
> to series of low power AIC audio CODECS.

This looks like it should be able to use regmap-irq if you fix the page
mapping open coding in the core.

> + if (aic->irq_base) {
> + aic->domain = irq_domain_add_legacy(aic->dev->of_node,
> + ARRAY_SIZE(aic_irqs),
> + aic->irq_base, 0,
> + &aic_domain_ops, aic);
> + } else {
> + aic->domain = irq_domain_add_linear(aic->dev->of_node,
> + ARRAY_SIZE(aic_irqs),
> + &aic_domain_ops, aic);
> + /* initiallizing irq_base from irq_domain*/
> + }

irq_domain_add_simple().

Attachment: signature.asc
Description: Digital signature