[PATCH] drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure

Linus Walleij linus.walleij at linaro.org
Tue Nov 1 22:13:20 UTC 2022


On Sat, Oct 15, 2022 at 1:11 AM Marek Vasut <marex at denx.de> wrote:

> In case mipi_dsi_attach() fails, call drm_panel_remove() to avoid memory leak.
>
> Fixes: 849b2e3ff9698 ("drm/panel: Add Sitronix ST7701 panel driver")
> Signed-off-by: Marek Vasut <marex at denx.de>

Patch applied, fixed up some complaints from checkpatch.

Yours,
Linus Walleij


More information about the dri-devel mailing list