Skip to content
  • Thomas Gleixner's avatar
    genirq: Mirror irq trigger type bits in irq_data.state · 876dbd4c
    Thomas Gleixner authored
    
    
    That's the data structure chip functions get provided. Also allow them
    to signal the core code that they updated the flags in irq_data.state
    by returning IRQ_SET_MASK_OK_NOCOPY. The default is unchanged.
    
    The type bits should be accessed via:
    
    val = irqd_get_trigger_type(irqdata);
    and
    irqd_set_trigger_type(irqdata, val);
    
    Coders who access them directly will be tracked down and slapped with
    stinking trouts.
    
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    876dbd4c