diff options
author | 2023-05-30 09:38:09 +0200 | |
---|---|---|
committer | 2023-06-01 16:10:21 +0200 | |
commit | 6a044642988b5f8285f3173b8e88784bef2bc306 (patch) | |
tree | 7ad874045ef0e3dc5852d7aa1206793f834e9abe /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | dt-bindings: display: meson-vpu: add third DPI output port (diff) | |
download | wireguard-linux-6a044642988b5f8285f3173b8e88784bef2bc306.tar.xz wireguard-linux-6a044642988b5f8285f3173b8e88784bef2bc306.zip |
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: Nicolas Belin <nbelin@baylibre.com>
Tested-by: Nicolas Belin <nbelin@baylibre.com>
Signed-off-by: Neil 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
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions