Commit c6f1224573c3b609bd8073b39f496637a16cc06f
1 parent
21d1f908d3
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Revert "irq: Warn when shared interrupts do not match on NO_SUSPEND"
This reverts commit 4fae4e7624653ef498d0e2a38f00620b9701ab04. Undo because it breaks working systems. Requested-by: Rafael J. Wysocki <rjw@rjwysocki.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Showing 1 changed file with 2 additions and 5 deletions Side-by-side Diff
kernel/irq/manage.c
... | ... | @@ -1076,12 +1076,9 @@ |
1076 | 1076 | * set the trigger type must match. Also all must |
1077 | 1077 | * agree on ONESHOT. |
1078 | 1078 | */ |
1079 | - | |
1080 | -#define IRQF_MISMATCH \ | |
1081 | - (IRQF_TRIGGER_MASK | IRQF_ONESHOT | IRQF_NO_SUSPEND) | |
1082 | - | |
1083 | 1079 | if (!((old->flags & new->flags) & IRQF_SHARED) || |
1084 | - ((old->flags ^ new->flags) & IRQF_MISMATCH)) | |
1080 | + ((old->flags ^ new->flags) & IRQF_TRIGGER_MASK) || | |
1081 | + ((old->flags ^ new->flags) & IRQF_ONESHOT)) | |
1085 | 1082 | goto mismatch; |
1086 | 1083 | |
1087 | 1084 | /* All handlers must agree on per-cpuness */ |