]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/tegra: hdmi: Fix some error handling paths in tegra_hdmi_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 2 Sep 2023 15:22:10 +0000 (17:22 +0200)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:41 +0000 (18:19 -0400)
commit3f5f7810dbc589db7ae39451dba8f239ef4f4b07
treeb328ed7bc0cbb5e374ff08a6c1dd80878dfb0f45
parent79a7e4019e3075269a53186d5b091720bfb1e931
drm/tegra: hdmi: Fix some error handling paths in tegra_hdmi_probe()

[ Upstream commit 643ae131b8598fb2940c92c7d23fe62823a119c8 ]

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

Fixes: 59d29c0ec93f ("drm/tegra: Allocate resources at probe time")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9b7c564eb71977678b20abd73ee52001a51cf327.1693667005.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tegra/hdmi.c