]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: lpc32xx: disable broken to_irq support
authorSylvain Lemieux <slemieux@tycoint.com>
Wed, 11 May 2016 17:40:00 +0000 (13:40 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 May 2016 07:42:03 +0000 (09:42 +0200)
commit838d96d594c37cb4fc0ad22a734884a5b7514400
tree4047dfeb6ca369ecc1e624c8dcb97a8790dd810a
parent50071cc55229e13f7b459c28388ff0f4e1bac824
gpio: lpc32xx: disable broken to_irq support

The "to_irq" functionality is broken inside this driver since commit
c218fa61176b ("genirq: Add irq_domain-aware core IRQ handler").

The addition of the new lpc32xx irqchip driver in 4.7, fixed the
lpc32xx platform interrupt issue.

When switching to the new lpc32xx irqchip driver, a warning appear
in the lpc32xx gpio driver: warning: "NR_IRQS" redefined.

To remove this warning (temporary solution), this patch
disables the broken "to_irq" mapping functionality support.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lpc32xx.c