Re: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped

Mark Brown
2012-08-06T12:21:45Z

On Sun, Aug 05, 2012 at 07:57:19PM +0000, Opensource [Anthony Olech] wrote:
> Hi Mark,

Don't send top posted mails and fix your mail client ti wrod wrap within
paragraphs.

> The problem is that the auto allocated "irq_base" comes back as zero.

> I repeat - in v3.4 the daa9058 driver work, but fails (without my
> patch) in v3.5

> If my suggested fix is not acceptable, then is it possible to fix the
> bug in some other way?

To repeat, your driver is buggy, any irq_base should be specified by
platform data. Your driver should stop doing whatever it is doing that
relies on having an irq_base.