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

From: Mark Brown
Date: Mon Aug 06 2012 - 08:21:37 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/