Message ID | 20100730175141.815256382@clark.site (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
--- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -440,6 +440,9 @@ int __irq_set_trigger(struct irq_desc *d /* note that IRQF_TRIGGER_MASK == IRQ_TYPE_SENSE_MASK */ desc->status &= ~(IRQ_LEVEL | IRQ_TYPE_SENSE_MASK); desc->status |= flags; + + if (chip != desc->chip) + irq_chip_set_defaults(desc->chip); } return ret;