Re: [PATCH] drm/ipuv3/parallel: Fix an error handling path in imx_pd_probe()

2024-09-09 Thread Jani Nikula
On Fri, 06 Sep 2024, Christophe JAILLET wrote: > If component_add() fails, we need to undo a potential previous > drm_edid_alloc() call. > > Add an error handling path and the missing drm_edid_free(), as already done > in the reomve function. See commit fe30fabf229f ("drm/imx: parallel-display: d

[PATCH] drm/ipuv3/parallel: Fix an error handling path in imx_pd_probe()

2024-09-06 Thread Christophe JAILLET
If component_add() fails, we need to undo a potential previous drm_edid_alloc() call. Add an error handling path and the missing drm_edid_free(), as already done in the reomve function. Fixes: 42e08287a318 ("drm/ipuv3/parallel: convert to struct drm_edid") Signed-off-by: Christophe JAILLET ---