]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: dsi: Fix unbalanced clock on probe error
authorBrian Norris <briannorris@chromium.org>
Tue, 28 Sep 2021 21:35:51 +0000 (14:35 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 17 Oct 2021 21:47:19 +0000 (23:47 +0200)
commitd7931ed4233c8b0262ecd7671643e6833c78fac8
treedcfa0a6f4dc21b3b07c022887bfe222f48e71ed2
parent8ff79bddfebcd35fa5a9414ecb044462b5d2c5fe
drm/rockchip: dsi: Fix unbalanced clock on probe error

Our probe() function never enabled this clock, so we shouldn't disable
it if we fail to probe the bridge.

Noted by inspection.

Fixes: 635ffc6edf79 ("drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210928143413.v3.3.Ie8ceefb51ab6065a1151869b6fcda41a467d4d2c@changeid
drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c