summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-04-24 15:40:39 +0300
committerLinus Walleij <linusw@kernel.org>2026-05-05 12:16:39 +0300
commit93dd05a23b5bc9c0d6be331b10eed876b8b9c1f1 (patch)
tree0916704502fbddf484de1ed0b84ec9df0eeb7590 /scripts
parentd4c14903bf5e28e740516c4fbb7db01e0dedf3af (diff)
downloadlinux-93dd05a23b5bc9c0d6be331b10eed876b8b9c1f1.tar.xz
drm/tve200: Fix probe cleanup after register failure
tve200_modeset_init() creates a panel bridge and initializes the DRM mode config before tve200_probe() registers the DRM device. If drm_dev_register() fails, probe returns an error and the driver's remove callback is not called, so those modeset resources are left behind. Unwind the panel bridge and mode config on that failure path before disabling the clock and dropping the DRM device reference. Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260424124118.38649-1-mhun512@gmail.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions