MIPS: JZ4740: GPIO: Check correct IRQ in demux handler
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 24 Sep 2011 00:29:54 +0000 (02:29 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Oct 2011 22:34:25 +0000 (23:34 +0100)
commit933036386b36d8a9047798f31ab40f9e869bdd7d
treeb600ab160ca792ae0e89f9d7b44d8ff5351930ab
parentfe5a8b7f0602b5a536d23cd3468461e9de76256b
MIPS: JZ4740: GPIO: Check correct IRQ in demux handler

Check the trigger direction for the triggered IRQ instead of the parent IRQ.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: http://patchwork.linux-mips.org/patch/2433/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/gpio.c