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

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Mar 17 02:03:21 UTC 2024


On Sat, 16 Mar 2024 at 21:51, Christophe JAILLET
<christophe.jaillet at wanadoo.fr> 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 at wanadoo.fr>
> ---
> Compile tested only.
> ---
>  drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


-- 
With best wishes
Dmitry


More information about the dri-devel mailing list