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)
committerThierry Reding <treding@nvidia.com>
Thu, 14 Dec 2023 17:39:10 +0000 (18:39 +0100)
commit643ae131b8598fb2940c92c7d23fe62823a119c8
treec393b3ba9d5b7de9d0b2bdafd43711cda79a10da
parent5286a9fc280c45b6b307ee1b07f7a997e042252c
drm/tegra: hdmi: Fix some error handling paths in tegra_hdmi_probe()

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
drivers/gpu/drm/tegra/hdmi.c