lkml.org 
[lkml]   [2013]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2013-05-01 18:01    [W:0.047 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site