sony-laptop:irq: Remove IRQF_DISABLED
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled and we even check and yell when an interrupt handler returns with interrupts enabled (see commit [b738a50a: genirq: Warn when handler enables interrupts]). So now this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
149083996e
commit
6a0d89c264
|
@ -3281,7 +3281,7 @@ static int sony_pic_add(struct acpi_device *device)
|
||||||
/* request IRQ */
|
/* request IRQ */
|
||||||
list_for_each_entry_reverse(irq, &spic_dev.interrupts, list) {
|
list_for_each_entry_reverse(irq, &spic_dev.interrupts, list) {
|
||||||
if (!request_irq(irq->irq.interrupts[0], sony_pic_irq,
|
if (!request_irq(irq->irq.interrupts[0], sony_pic_irq,
|
||||||
IRQF_DISABLED, "sony-laptop", &spic_dev)) {
|
0, "sony-laptop", &spic_dev)) {
|
||||||
dprintk("IRQ: %d - triggering: %d - "
|
dprintk("IRQ: %d - triggering: %d - "
|
||||||
"polarity: %d - shr: %d\n",
|
"polarity: %d - shr: %d\n",
|
||||||
irq->irq.interrupts[0],
|
irq->irq.interrupts[0],
|
||||||
|
|
Loading…
Reference in New Issue