summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Xie <xxie@nvidia.com>2011-05-27 15:58:08 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-06-20 07:23:50 -0700
commit5e5b29618e0210c3ca8c8ce99df1612eb61c67df (patch)
tree5476ba3d854a4527ac4bc431af833df0a17e796f
parent63a20cb9aef250a407d44cdf3390f1f98bbb91c6 (diff)
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: Ie4a7ba9dfc765ca3a9e4c443112364230338896c Reviewed-on: http://git-master/r/37180 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
-rw-r--r--drivers/video/tegra/dc/hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c
index 6add4ad7aa70..f4a4dc99733b 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -1269,6 +1269,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 = {