On Thu, 2013-03-07 at 15:13 +0800, Mark Brown wrote: > On Thu, Mar 07, 2013 at 12:27:52PM +0530, Ashish Jangam wrote: > > > In regmap_irq if irq_base is unknown then regmap creates virq starting from > > 0 > > and it seems that in kernel 3.8 virq 0 usage is not permitted, since during > > irq > > registration kernel throws a message "error: irq_desc already associated". > > > I'm not sure if this requires fix in regmap_irq or kernel, can you please > > comment on this? > > This is a bug in your platform which will affect anything using a linear > domain. The platform isn't setting up its interrupts correctly so that > the core knows that those interrupts are reserved, ideally the platform > would just use domains for everything but at least irq_alloc_decs() > needs to know what is going on. Thanks I got this, however in this case should regmap handle such condition where domain is unknown? By the way, I was testing on smdkv6410 where Dialog device is not a component of the board.
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/