kernel-hacking-2024-linux-s.../drivers/pinctrl/mvebu
Wang Jianzheng c25478419f pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function
When an error occurs during the execution of the function
__devinit_dove_pinctrl_probe, the clk is not properly disabled.

Fix this by calling clk_disable_unprepare before return.

Fixes: ba607b6238 ("pinctrl: mvebu: make pdma clock on dove mandatory")
Signed-off-by: Wang Jianzheng <wangjianzheng@vivo.com>
Link: https://lore.kernel.org/20240829064823.19808-1-wangjianzheng@vivo.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2024-09-02 10:08:46 +02:00
..
Kconfig pinctrl: mvebu: pinctrl driver for 98DX2530 SoC 2022-04-18 01:15:34 +02:00
Makefile pinctrl: mvebu: pinctrl driver for 98DX2530 SoC 2022-04-18 01:15:34 +02:00
pinctrl-ac5.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-armada-37xx.c pinctrl: armada-37xx: remove an unused variable 2024-04-02 14:27:13 +02:00
pinctrl-armada-38x.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-39x.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-370.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-armada-375.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-armada-ap806.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-cp110.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-xp.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-dove.c pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function 2024-09-02 10:08:46 +02:00
pinctrl-kirkwood.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-mvebu.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-mvebu.h
pinctrl-orion.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00