summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_crtc.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-07-11 20:38:31 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-07-13 11:46:05 +0300
commit668a8f17b5290d04ef7343636a5588a0692731a1 (patch)
treee1bf03252012af0e029e9a7f050ab10dbc1d49ad /drivers/gpu/drm/drm_crtc.c
parent4de395f2c632c31c575f72d49d4f4389c99dab68 (diff)
downloadlinux-668a8f17b5290d04ef7343636a5588a0692731a1.tar.xz
drm/mipi-dsi: Detach devices when removing the host
Whenever the MIPI-DSI host is unregistered, the code of mipi_dsi_host_unregister() loops over every device currently found on that bus and will unregister it. However, it doesn't detach it from the bus first, which leads to all kind of resource leaks if the host wants to perform some clean up whenever a device is detached. Fixes: 068a00233969 ("drm: Add MIPI DSI bus support") Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220711173939.1132294-2-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
0 files changed, 0 insertions, 0 deletions