aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-10-15 01:11:06 +0200
committerLinus Walleij <linus.walleij@linaro.org>2022-11-01 23:12:06 +0100
commitc62102165dd79284d42383d2f7ed17301bd8e629 (patch)
treef2d09f79ea66add1f1c02fff5cfa259c63ed36dc /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
parent49ee766b364edf7aca412d7418eb4cfe7ab1b1db (diff)
drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
In case mipi_dsi_attach() fails, call drm_panel_remove() to avoid memory leak. Fixes: 849b2e3ff969 ("drm/panel: Add Sitronix ST7701 panel driver") Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20221014231106.468063-1-marex@denx.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions