diff --git a/arch/mips/jz4740/gpio.c b/arch/mips/jz4740/gpio.c index bbbe12ba60ab9dcc33e2175c697942ab2b14ea74..e1ddb95c05e3459569105a34933a50906be65097 100644 --- a/arch/mips/jz4740/gpio.c +++ b/arch/mips/jz4740/gpio.c @@ -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); };