diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-03-20 16:07:49 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-03-22 13:32:52 +0100 |
commit | 61b5d0072a88cfd8c5fda31a7c19d105187c8841 (patch) | |
tree | b7e6b1409c56a6f41faf72683188f8fa06761e1a /include/drm/drm_fb_helper.h | |
parent | 8fbc9af55de0b274745e70118e20e0964e98bb05 (diff) |
drm/fbdev-generic: Clean up after failed probing
Clean up fbdev and client state if the probe function fails. It
used to leak allocated resources. Also reorder the individual steps
to simplify cleanup.
v2:
* move screen_size update into separate patches
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Zack Rusin <zackr@vmware.com>
Tested-by: Sui Jingfeng <suijingfeng@loongson.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20230320150751.20399-7-tzimmermann@suse.de
Diffstat (limited to 'include/drm/drm_fb_helper.h')
0 files changed, 0 insertions, 0 deletions