]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: samsung: Fix irq handling if an error occurs in exynos_irq_demux_eint16_31()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 17 Nov 2024 12:03:32 +0000 (13:03 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 2 Dec 2024 14:01:34 +0000 (15:01 +0100)
commitf686a2b52e9d78cf401f1b7f446bf0c3a81ebcc0
treeabdb843b96f0232241a8bcadc797983d7737d586
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
pinctrl: samsung: Fix irq handling if an error occurs in exynos_irq_demux_eint16_31()

chained_irq_enter(() should be paired with a corresponding
chained_irq_exit().

Here, if clk_enable() fails, a early return occurs and chained_irq_exit()
is not called.

Add a new label and a goto for fix it.

Fixes: f9c744747973 ("pinctrl: samsung: support a bus clock")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/f148d823acfb3326a115bd49a0eed60f2345f909.1731844995.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/pinctrl/samsung/pinctrl-exynos.c