]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:58 +0000 (18:16 -0400)
commit374068b3e629d57ce44318297a3903c10ba07357
tree0b01023d094c107f92cd4e6fdebc11e534ef9aa3
parentb8cde2bb3cd3eb24d6b732f884dd8b7c380601e5
drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()

[ Upstream commit 830c1ded356369cd1303e8bb87ce3fea6e744de8 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tegra/dsi.c