mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
[ Upstream commitc62102165d] In case mipi_dsi_attach() fails, call drm_panel_remove() to avoid memory leak. Fixes:849b2e3ff9("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 Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8b39120d4d
commit
465611e812
1 changed files with 9 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue