]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: Fix error handling in analogix_dp_probe
authorMiaoqian Lin <linmq006@gmail.com>
Wed, 20 Apr 2022 01:16:40 +0000 (01:16 +0000)
committerRobert Foss <robert.foss@linaro.org>
Thu, 21 Apr 2022 12:22:47 +0000 (14:22 +0200)
commit71a1a0c4e51ed0d047d397ccf6a3a4f4966ca7a2
treeee5c5e9a5ac5dd680f75722aac4f1774eff4d202
parent399ab8fd370adeb6d707b62aa5dbeda481860388
drm/bridge: Fix error handling in analogix_dp_probe

In the error handling path, the clk_prepare_enable() function
call should be balanced by a corresponding 'clk_disable_unprepare()'
call, as already done in the remove function.

Fixes: 86035b05b557 ("drm: bridge: analogix/dp: split exynos dp driver to bridge directory")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420011644.25730-1-linmq006@gmail.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c