diff options
author | Brian Norris <briannorris@chromium.org> | 2021-09-24 03:33:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 13:04:22 +0300 |
commit | 57347363de0bc55adb5dbb3f2f5739f3f38d9b63 (patch) | |
tree | 33fffd17b242c108cddceb4d5a2b61584c39906f /drivers/gpu/drm/atmel-hlcdc | |
parent | 493c7d56ac22bcea643750ffb8dcbda8a62b5472 (diff) | |
download | linux-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