]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/bridge: lt9611: Fix an error handling path in lt9611_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 29 Jan 2022 15:06:24 +0000 (16:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:58:00 +0000 (13:58 +0200)
commitff809d6367355c3fbf3de8aec832969872c01a5c
tree3d3e86310dfb560c645a2f8e0fe297ff239d4e89
parentec5da191bfcd5fd22b95459b623694f66c1cc10b
drm/bridge: lt9611: Fix an error handling path in lt9611_probe()

[ Upstream commit 9987151a90567785beebcbd5c8ac58d05f254137 ]

If lt9611_audio_init() fails, some resources still need to be released
before returning an error code.

Add the missing goto the error handling path.

Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/9c20eb74d42f6d4128e58e3e46aa320482472b77.1643468761.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/bridge/lontium-lt9611.c