提交 93303638 编写于 作者: L Lars-Peter Clausen 提交者: Ralf Baechle

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: NLars-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: NRalf Baechle <ralf@linux-mips.org>
上级 fe5a8b7f
......@@ -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);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册