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>
This commit is contained in:
Родитель
fe5a8b7f06
Коммит
933036386b
|
@ -309,7 +309,7 @@ static void jz_gpio_irq_demux_handler(unsigned int irq, struct irq_desc *desc)
|
|||
|
||||
gpio_irq = chip->irq_base + __fls(flag);
|
||||
|
||||
jz_gpio_check_trigger_both(chip, irq);
|
||||
jz_gpio_check_trigger_both(chip, gpio_irq);
|
||||
|
||||
generic_handle_irq(gpio_irq);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче