Re: [PATCH] gpio-langwell: fix irq conflicts when DT is not used

From: David Cohen
Date: Wed May 15 2013 - 12:58:36 EST


Hi Grant,

On 05/07/2013 09:34 AM, David Cohen wrote:
On 05/07/2013 12:59 AM, Mika Westerberg wrote:
On Mon, May 06, 2013 at 04:11:03PM -0700, David Cohen wrote:
When DT is not used IOAPIC does not register irq domain. As result
IOAPIC won't care about gpio-langwell's virq and may cause conflict if
an irq number is equal to gpio-langwell's virq mapped beforehand.

This patch tells gpio_langwell to not ignore irq_base if != 0 and
preferably use it to avoid the conflict.

If DT is used, irq_base can safely be 0.

Signed-off-by: David Cohen <david.a.cohen@xxxxxxxxx>
Presuming that you have tested this on Medfield and it still works there.

Medfield and Clovertrail :)

Br, David


Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Kindly ping :)
Comments?

Br, David

--
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/