OpenCloudOS-Kernel/drivers/pinctrl/mvebu
Wang Jianzheng 4c49d34f87 pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function
[ Upstream commit c25478419f6fd3f74c324a21ec007cf14f2688d7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 16:29:32 +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 intel-pinctrl for v6.6-1 2023-08-25 15:47:18 +02:00
pinctrl-armada-38x.c pinctrl: Use device_get_match_data() 2024-10-04 16:29:27 +02:00
pinctrl-armada-39x.c pinctrl: Use device_get_match_data() 2024-10-04 16:29:27 +02: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() 2024-10-04 16:29:27 +02:00
pinctrl-armada-cp110.c pinctrl: Use device_get_match_data() 2024-10-04 16:29:27 +02:00
pinctrl-armada-xp.c pinctrl: Use device_get_match_data() 2024-10-04 16:29:27 +02:00
pinctrl-dove.c pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function 2024-10-04 16:29:32 +02:00
pinctrl-kirkwood.c pinctrl: Use device_get_match_data() 2024-10-04 16:29:27 +02: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() 2024-10-04 16:29:27 +02:00