diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-04-24 21:40:39 +0900 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-05-05 11:16:39 +0200 |
| commit | 93dd05a23b5bc9c0d6be331b10eed876b8b9c1f1 (patch) | |
| tree | 0916704502fbddf484de1ed0b84ec9df0eeb7590 /include/linux/timerqueue.h | |
| parent | d4c14903bf5e28e740516c4fbb7db01e0dedf3af (diff) | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
