]> git.baikalelectronics.ru Git - kernel.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)
committerRobert Foss <robert.foss@linaro.org>
Mon, 31 Jan 2022 16:25:51 +0000 (17:25 +0100)
commit1919a397f99d88317ed90a11742976533e667bc1
tree4ea55c9b17a32fb6035e481c78f62d818175b3d4
parent0417281121c3fe63ddebc862c8330b557a764282
drm/bridge: lt9611: Fix an error handling path in lt9611_probe()

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: 4e9e2250396c ("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>
drivers/gpu/drm/bridge/lontium-lt9611.c