• Thomas Gleixner's avatar
    powerpc: cpm2_pic: Cleanup flow type handling · a28ab38c
    Thomas Gleixner authored
    The core irq_set_type() function updates the flow type when the chip
    callback returns 0. So setting the type is bogus.
    
    The new core code allows to update the type in irq_data and return
    IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for
    setting the IRQ_LEVEL flag.
    
    Use the proper accessors for setting the irq handlers.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    a28ab38c
cpm2_pic.c 7.31 KB