summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/hdmi.c
diff options
context:
space:
mode:
authorSanjay Singh Rawat <srawat@nvidia.com>2012-07-06 15:23:16 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-07-12 10:12:30 +0530
commit4108342d64de0a04d8185599936534915224adf8 (patch)
tree5a4b661b6e1fe3c8ba748ff51a0d6f675210c28f /drivers/video/tegra/dc/hdmi.c
parentfe1bd5c47a37d66786a57b61f7fe7ca4591d03eb (diff)
video: tegra: resolve compilation time warnings
- Handled warning of unused label. bug 949219 Change-Id: I72e22063b199562c4a4c065419c1656e3e8ff7ff Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/113880 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/hdmi.c')
-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 469ecc695f09..456691b7d2a1 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -1670,8 +1670,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: