From e299e1d21b790cc390c4176b963904c13bfa4c9b Mon Sep 17 00:00:00 2001 From: Xin Xie Date: Fri, 27 May 2011 15:58:08 -0700 Subject: tegra: dc: set HDMI clock to 0 if HDMI unplugged HDMI clock is not auto dvfs, so we need set the clock rate to 0 if HDMI is disabled. Otherwise the Vdd core voltage will be always 1.2v even after HDMI cable unplugged. BUG 828306 Reviewed-on: http://git-master/r/34379 (cherry picked from commit 58ddd144a6c2dd9bbc9d2f3c8b1e025364d88c22) Change-Id: I5b455a7a945d4834fb162b2986639df5a26b112c Reviewed-on: http://git-master/r/37176 Reviewed-by: Bharat Nihalani Tested-by: Bharat Nihalani Tested-by: Prashant Gaikwad --- drivers/video/tegra/dc/hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index 58b457244887..7c1d3482715f 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -1261,6 +1261,7 @@ static void tegra_dc_hdmi_disable(struct tegra_dc *dc) tegra_periph_reset_assert(hdmi->clk); clk_disable(hdmi->clk); + tegra_dvfs_set_rate(hdmi->clk, 0); } struct tegra_dc_out_ops tegra_dc_hdmi_ops = { -- cgit v1.2.3