Re: [PATCH] PM / wakeirq: Fix unbalanced irq enable for wakeirq

2018-02-14 Thread Rafael J. Wysocki
On Friday, February 9, 2018 5:11:26 PM CET Tony Lindgren wrote: > If a device is runtime PM suspended when we enter suspend and has > a dedicated wake irq, we can get the following warning: > > WARNING: CPU: 0 PID: 108 at kernel/irq/manage.c:526 enable_irq+0x40/0x94 > [ 102.087860] Unbalanced ena

[PATCH] PM / wakeirq: Fix unbalanced irq enable for wakeirq

2018-02-09 Thread Tony Lindgren
If a device is runtime PM suspended when we enter suspend and has a dedicated wake irq, we can get the following warning: WARNING: CPU: 0 PID: 108 at kernel/irq/manage.c:526 enable_irq+0x40/0x94 [ 102.087860] Unbalanced enable for IRQ 147 ... (enable_irq) from [] (dev_pm_arm_wake_irq+0x4c/0x60) (