gpio/mxc: make irqs work for fsl,imx21-gpio devices
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 6 Jun 2012 09:49:23 +0000 (11:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Jul 2012 13:40:35 +0000 (15:40 +0200)
The chained handler was set for the platform device with id == 0.
When the gpio devices are instantiated by a device tree, all have id ==
-1 and so the handler was unset resulting in unusable gpio irqs on
i.MX21 and i.MX27 (when using oftree).

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found