summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc
diff options
context:
space:
mode:
authorXin Xie <xxie@nvidia.com>2011-05-27 15:58:08 -0700
committerYuhao Ding <yding@nvidia.com>2011-06-17 17:03:50 -0700
commite299e1d21b790cc390c4176b963904c13bfa4c9b (patch)
treeb5ea7ffc06135732d51696debc31a7654f27f13d /drivers/video/tegra/dc
parent39c30df208e8ede3b7c2be58d630fb97c983f87b (diff)
tegra: dc: set HDMI clock to 0 if HDMI unpluggedtegra-10.11.10
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 <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc')
-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 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 = {