summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2021-09-24 02:33:55 +0200
committerSam Ravnborg <sam@ravnborg.org>2021-10-14 21:55:12 +0200
commit9bf7123bb07f98dc76acb5daa91248e6f95713cb (patch)
treea4a8df3c8b4490a98236738ed47f4d2541dc9f39 /drivers/firmware
parentdrm/panel: innolux-p079zca: Delete panel on attach() failure (diff)
downloadlinux-9bf7123bb07f98dc76acb5daa91248e6f95713cb.tar.xz
linux-9bf7123bb07f98dc76acb5daa91248e6f95713cb.zip
drm/panel: Delete panel on mipi_dsi_attach() failure
Many DSI panel drivers fail to clean up their panel references on mipi_dsi_attach() failure, so we're leaving a dangling drm_panel reference to freed memory. Clean that up on failure. Noticed by inspection, after seeing similar problems on other drivers. Therefore, I'm not marking Fixes/stable. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210923173336.3.If9e74fa9b1d6eaa9e0e5b95b2b957b992740251c@changeid
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions