summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tegra/dc/hdmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c
index 378fd8b9d8b3..0795ef8ea6d2 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -1669,8 +1669,10 @@ static int tegra_dc_hdmi_init(struct tegra_dc *dc)
return 0;
+#ifdef CONFIG_TEGRA_NVHDCP
err_edid_destroy:
tegra_edid_destroy(hdmi->edid);
+#endif
err_free_irq:
free_irq(gpio_to_irq(dc->out->hotplug_gpio), dc);
err_put_clock: