Skip to content
Commit 6a044642 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

drm/meson: fix unbind path if HDMI fails to bind



If the case the HDMI controller fails to bind, we try to unbind
all components before calling drm_dev_put() which makes drm_bridge_detach()
crash because unbinding the HDMI controller frees the bridge memory.

The solution is the unbind all components at the end like in the remove
path.

Reviewed-by: default avatarNicolas Belin <nbelin@baylibre.com>
Tested-by: default avatarNicolas Belin <nbelin@baylibre.com>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v5-8-56eb7a4d5b8e@linaro.org
parent 25b3b35c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment