Re: [PATCH] drm/panel: feiyang-fy07024di26a30d: cleanup if panel attaching failed
From: Jagan Teki
Date: Wed Jan 06 2021 - 04:48:23 EST
On Sat, Nov 28, 2020 at 6:23 PM Icenowy Zheng <icenowy@xxxxxxx> wrote:
>
> Attaching the panel can fail, so cleanup work is necessary, otherwise
> a pointer to freed struct drm_panel* will remain in drm_panel code.
>
> Do the cleanup if panel attaching failed.
>
> Fixes: 69dc678abc2b ("drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel")
The fact that this has failed to probe due to recent changes in
sun6i_mipi_dsi.c I don't know how to put that into the commit message.
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>
> ---
Reviewed-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>