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

2012-08-08 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 07 August 2012 18:02 > To: Opensource [Anthony Olech] > Cc: LKML; David Dajun Chen > Subject: Re: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped > On Tue, Aug 0

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

2012-08-07 Thread Mark Brown
On Tue, Aug 07, 2012 at 02:37:37PM +, Opensource [Anthony Olech] wrote: > > The bottom line here is that if your driver requires a dynamically allocated > > legacy domain it is broken. > I am trying to use the latest REGMAP API, and I do not understand why you > say the DSA9058 driver "requir

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

2012-08-07 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 07 August 2012 15:03 > On Tue, Aug 07, 2012 at 11:18:20AM +, Opensource [Anthony Olech] > wrote: > > if you don't TOP POST how can you tell who wrote what? > Well, it's not clear who wrote what

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

2012-08-07 Thread Mark Brown
On Tue, Aug 07, 2012 at 11:18:20AM +, Opensource [Anthony Olech] wrote: > if you don't TOP POST how can you tell who wrote what? Well, it's not clear who wrote what in your current e-mail since there's no indication of what's quoted and what's new text... Take a look at all the other mails o

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

2012-08-07 Thread Opensource [Anthony Olech]
PATCH] regmap-irq: allow auto-allocated IRQs to be mapped On Wed, Aug 01, 2012 at 07:05:15PM +0100, Anthony Olech wrote: > if the irq_base is set to -1 when calling regmap_add_irq_chip() then > allow the IRQ to be mapped even if the allocated irq_base is actually > zero. > This resto

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

2012-08-06 Thread Mark Brown
On Sun, Aug 05, 2012 at 07:57:19PM +, 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 fa

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

2012-08-05 Thread Opensource [Anthony Olech]
then is it possible to fix the bug in some other way? thanks, Tony Olech -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: 04 August 2012 11:54 To: Opensource [Anthony Olech] Cc: LKML; Anthony Olech; David Dajun Chen Subject: Re: [PATCH] regmap-irq:

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

2012-08-04 Thread Mark Brown
On Wed, Aug 01, 2012 at 07:05:15PM +0100, Anthony Olech wrote: > if the irq_base is set to -1 when calling regmap_add_irq_chip() > then allow the IRQ to be mapped even if the allocated irq_base > is actually zero. > This restores the behaviour seen in v3.4, and I assume that the > tidy-ups just m

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

2012-08-01 Thread Opensource
if the irq_base is set to -1 when calling regmap_add_irq_chip() then allow the IRQ to be mapped even if the allocated irq_base is actually zero. This restores the behaviour seen in v3.4, and I assume that the tidy-ups just made in v3.5 INADVERTENTLY introduce this change in behaviour. Signed-off-