diff options
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 50809c79c7ad..ea6add6036b1 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -492,7 +492,7 @@ int irq_set_irq_wake(unsigned int irq, unsigned int on) | |||
492 | if (ret) | 492 | if (ret) |
493 | desc->wake_depth = 0; | 493 | desc->wake_depth = 0; |
494 | else | 494 | else |
495 | desc->istate |= IRQS_WAKEUP; | 495 | irqd_set(&desc->irq_data, IRQD_WAKEUP_STATE); |
496 | } | 496 | } |
497 | } else { | 497 | } else { |
498 | if (desc->wake_depth == 0) { | 498 | if (desc->wake_depth == 0) { |
@@ -502,7 +502,7 @@ int irq_set_irq_wake(unsigned int irq, unsigned int on) | |||
502 | if (ret) | 502 | if (ret) |
503 | desc->wake_depth = 1; | 503 | desc->wake_depth = 1; |
504 | else | 504 | else |
505 | desc->istate &= ~IRQS_WAKEUP; | 505 | irqd_clear(&desc->irq_data, IRQD_WAKEUP_STATE); |
506 | } | 506 | } |
507 | } | 507 | } |
508 | 508 | ||