diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-07-22 16:39:37 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-27 16:04:04 -0700 |
commit | dbcd1a313c6e272402f024ccb8471dd41127efd6 (patch) | |
tree | 9897517e7f3e1a15625d8a83b7f9fc3616a58a76 | |
parent | 40a95f668b311b66212cf81638bb65f241835e98 (diff) |
tegra: video: dc: Fix no audio after res. change
Avoid reseting eld_retrieved flag during tegra_dc_hdmi_disable(). It
will ensure if tegra_dc_hdmi_disable() is called due to resolution
change, cached eld data is used. It will be reset to zero if during
hotplug HDMI driver fails to get valid eld data.
Bug 854284
Change-Id: I08c8f48eded0c6a469faf63d601f28627a71602f
Reviewed-on: http://git-master/r/42599
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
-rw-r--r-- | drivers/video/tegra/dc/hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index 0a365bf35d95..405d0d65d015 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -754,6 +754,7 @@ static bool tegra_dc_hdmi_detect(struct tegra_dc *dc) return true; fail: + hdmi->eld_retrieved = false; switch_set_state(&hdmi->hpd_switch, 0); tegra_nvhdcp_set_plug(hdmi->nvhdcp, 0); return false; @@ -1664,7 +1665,6 @@ static void tegra_dc_hdmi_disable(struct tegra_dc *dc) clk_disable(hdmi->hda2codec_clk); clk_disable(hdmi->hda_clk); #endif - hdmi->eld_retrieved = false; tegra_periph_reset_assert(hdmi->clk); hdmi->clk_enabled = false; clk_disable(hdmi->clk); |