Messages in this thread | | | Date | Wed, 1 May 2013 16:46:29 +0100 | From | Mark Brown <> | Subject | Re: [PATCH V2 2/4] mfd: Interrupt handling support for AIC family |
| |
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(). [unhandled content-type:application/pgp-signature] | |