summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/atmel-hlcdc
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2021-09-24 03:33:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 13:04:22 +0300
commit57347363de0bc55adb5dbb3f2f5739f3f38d9b63 (patch)
tree33fffd17b242c108cddceb4d5a2b61584c39906f /drivers/gpu/drm/atmel-hlcdc
parent493c7d56ac22bcea643750ffb8dcbda8a62b5472 (diff)
downloadlinux-57347363de0bc55adb5dbb3f2f5739f3f38d9b63.tar.xz
drm/panel: Delete panel on mipi_dsi_attach() failure
[ Upstream commit 9bf7123bb07f98dc76acb5daa91248e6f95713cb ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/atmel-hlcdc')
0 files changed, 0 insertions, 0 deletions