From: David Cohen Date: Mon, 6 May 2013 23:11:03 +0000 (-0700) Subject: gpio-langwell: fix irq conflicts when DT is not used X-Git-Tag: v3.10-rc3~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2519f9abced15b4327f03d7b8666827517582c29;p=pandora-kernel.git gpio-langwell: fix irq conflicts when DT is not used 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 Acked-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-diff-tree failed