drm/bridge: analogix_dp: Remove the unnecessary calls to clk_disable_unprepare()...
authorDamon Ding <damon.ding@rock-chips.com>
Sun, 2 Mar 2025 08:30:43 +0000 (16:30 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 27 May 2025 20:13:08 +0000 (23:13 +0300)
commit6579a03e68ffa5feb2d2823dea16ca7466f6de16
tree37d2532f7b03d69f0cb9d151999f0fd2bd4b6943
parentbe9b3f9a54101c19226c25ba7163d291183777a0
drm/bridge: analogix_dp: Remove the unnecessary calls to clk_disable_unprepare() during probing

With the commit f37952339cc2 ("drm/bridge: analogix_dp: handle clock via
runtime PM"), the PM operations can help enable/disable the clock. The
err_disable_clk label and clk_disable_unprepare() operations are no
longer necessary because the analogix_dp_resume() will not be called
during probing.

Fixes: f37952339cc2 ("drm/bridge: analogix_dp: handle clock via runtime PM")
Suggested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250302083043.3197235-1-damon.ding@rock-chips.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c