diff options
author | Guenter Roeck <linux@roeck-us.net> | 2020-08-11 11:00:01 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-08-12 11:04:05 +0200 |
commit | e27b1636e9337d1a1d174b191e53d0f86421a822 (patch) | |
tree | f2c636c044c75e2de774f916dec6624bb01a5f5f /kernel/irq/dummychip.c | |
parent | fb893de323e2d39f7a1f6df425703a2edbdf56ea (diff) |
genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
rearm_wake_irq() does not unlock the irq descriptor if the interrupt
is not suspended or if wakeup is not enabled on it.
Restucture the exit conditions so the unlock is always ensured.
Fixes: 3a79bc63d9075 ("PCI: irq: Introduce rearm_wake_irq()")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200811180001.80203-1-linux@roeck-us.net
Diffstat (limited to 'kernel/irq/dummychip.c')
0 files changed, 0 insertions, 0 deletions