lkml.org 
[lkml]   [2012]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 1/3] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe
On Wed, Oct 03, 2012 at 02:06:57PM -0300, Fabio Estevam wrote:

> + /* Allocate a virtual IRQ domain to distribute to the regmap domains */
> + da9052->virq = irq_domain_add_linear(NULL, ARRAY_SIZE(da9052_irqs),
> + &da9052_domain_ops, da9052);
> + if (!da9052->virq) {
> + ret = -EINVAL;
> + goto regmap_err;
> + }

I still don't understand what on earth this is doing, as far as I can
tell there's only one domain in the device so you're not distrubting
anything between domains and there's as many interrupts in this domain
as there are in the domain allocated by regmap which is even odder.

There doesn't seem to be anything about this driver that's unusual, why
does it need this weird code?


\
 
 \ /
  Last update: 2012-10-03 20:01    [W:0.043 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site