Date:2011-06-03 01:47:42 (9 years 3 months ago)
Author:Lars C.
Commit:3bdcac86111d457c24f2386aa9393852ce71c980
Message: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>
Files: arch/mips/jz4740/gpio.c (1 diff)

Change Details

arch/mips/jz4740/gpio.c
309309
310310    gpio_irq = chip->irq_base + __fls(flag);
311311
312    jz_gpio_check_trigger_both(chip, irq);
312    jz_gpio_check_trigger_both(chip, gpio_irq);
313313
314314    generic_handle_irq(gpio_irq);
315315};

Archive Download the corresponding diff file



interactive