]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: sn65dsi83: Fix bridge removal
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:15:28 +0000 (17:15 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 27 Oct 2021 20:07:57 +0000 (22:07 +0200)
commitba8e77d826bbfbc7d700c48a6445ffe32d0e2b6c
tree0082de50204edfeab8699a7e09d334853576cb72
parent9f9e68d9e9f1a26ef4238eb7cbadad664ee12bb1
drm/bridge: sn65dsi83: Fix bridge removal

Commit 66e609242a46 ("drm/bridge: ti-sn65dsi83: Implement .detach
callback") moved the unregistration of the bridge DSI device and bridge
itself to the detach callback.

While this is correct for the DSI device detach and unregistration, the
bridge is added in the driver probe, and should thus be removed as part
of its remove callback.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Fixes: 66e609242a46 ("drm/bridge: ti-sn65dsi83: Implement .detach callback")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025151536.1048186-14-maxime@cerno.tech
drivers/gpu/drm/bridge/ti-sn65dsi83.c