summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/clk-rpmh.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2020-08-11 20:00:12 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-08-13 09:35:59 +0200
commitf107cee94ba4d2c7357fde59a1d84346c73d4958 (patch)
tree5c0436dee6ead0a6cb7b107625ef2ed673291149 /drivers/clk/qcom/clk-rpmh.c
parentgenirq/PM: Always unlock IRQ descriptor in rearm_wake_irq() (diff)
downloadlinux-f107cee94ba4d2c7357fde59a1d84346c73d4958.tar.xz
linux-f107cee94ba4d2c7357fde59a1d84346c73d4958.zip
genirq: Unlock irq descriptor after errors
In irq_set_irqchip_state(), the irq descriptor is not unlocked after an error is encountered. While that should never happen in practice, a buggy driver may trigger it. This would result in a lockup, so fix it. Fixes: 1d0326f352bb ("genirq: Check irq_data_get_irq_chip() return value before use") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20200811180012.80269-1-linux@roeck-us.net
Diffstat (limited to 'drivers/clk/qcom/clk-rpmh.c')
0 files changed, 0 insertions, 0 deletions