drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 2 Sep 2023 15:22:08 +0000 (17:22 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 14 Dec 2023 17:39:07 +0000 (18:39 +0100)
commit830c1ded356369cd1303e8bb87ce3fea6e744de8
tree05f66b42c1115276b9706e85437e80f47d6d4e17
parent0800880f4eb789b7d299db40f2e86e056bd33a4e
drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()

If an error occurs after calling tegra_output_probe(),
tegra_output_remove() should be called as already done in the remove
function.

Fixes: dec727399a4b ("drm/tegra: Add DSI support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/16820073278d031f6c474a08d5f22a255158585e.1693667005.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/tegra/dsi.c