]> git.itanic.dy.fi Git - linux-stable/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:16:58 +0000 (18:16 -0400)
commitbebacbe976c6bfad87e1d43f36e50d7ee1c45075
tree2476b0e988ae134899a2c90b81852956dbcfdba5
parentc5733762aef1ddac27b54f82a9cb3deeb84ee9d9
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