|
@@ -183,6 +183,7 @@ int irq_do_set_affinity(struct irq_data *data, const struct cpumask *mask,
|
|
|
ret = chip->irq_set_affinity(data, mask, force);
|
|
|
switch (ret) {
|
|
|
case IRQ_SET_MASK_OK:
|
|
|
+ case IRQ_SET_MASK_OK_DONE:
|
|
|
cpumask_copy(data->affinity, mask);
|
|
|
case IRQ_SET_MASK_OK_NOCOPY:
|
|
|
irq_set_thread_affinity(desc);
|
|
@@ -600,6 +601,7 @@ int __irq_set_trigger(struct irq_desc *desc, unsigned int irq,
|
|
|
|
|
|
switch (ret) {
|
|
|
case IRQ_SET_MASK_OK:
|
|
|
+ case IRQ_SET_MASK_OK_DONE:
|
|
|
irqd_clear(&desc->irq_data, IRQD_TRIGGER_MASK);
|
|
|
irqd_set(&desc->irq_data, flags);
|
|
|
|