Re: [PATCH] drm/bridge: lt9611uxc: Fix an error handling path in lt9611uxc_probe()

From: Dmitry Baryshkov
Date: Sat Mar 16 2024 - 22:03:42 EST


On Sat, 16 Mar 2024 at 21:51, Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
>
> If lt9611uxc_audio_init() fails, some resources still need to be released
> before returning the error code.
>
> Use the existing error handling path.
>
> Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> Compile tested only.
> ---
> drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>


--
With best wishes
Dmitry