• S
    MIPS: EMMA2RH: Use handle_edge_irq() handler for GPIO interrupts · 8da55bb2
    Shinya Kuribayashi 提交于
    EMMA's GPIO interrupts are latched by GPIO interrupt status register.
    In this case, we're encouraged to use handle_edge_irq() handler.
    
    The following changes are made along with replacing set_irq_chip() with
    set_irq_chip_and_handler_name(,,handle_edge_irq,"edge"):
    
    * Fix emma2rh_gpio_irq_ack not to disable interrupts
    
      With handle_edge_irq(), we're not expected to disable interrupts
      when chip->ack is served, so fix it accordingly.  We also add a new
      emma2rh_gpio_irq_mask_ack() for chip->mask_ack operation, instead.
    
    * Remove emma2rh_gpio_irq_end(), as chip->end is no longer served.
    Signed-off-by: NShinya Kuribayashi <shinya.kuribayashi@necel.com>
    Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
    8da55bb2
irq.c 8.0 KB