summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnshuman Nath Kar <anshumank@nvidia.com>2014-03-20 13:15:27 -0700
committerManish Tuteja <mtuteja@nvidia.com>2014-03-26 06:58:11 -0700
commit8930599b06dca29dd2e359196a7284b539a9f5c3 (patch)
tree054ca2b51ebb22676f5ab9adc65b46d3327c0c89
parent5376024d893cde40f451a11348db223cec9ca8d2 (diff)
tegra: dc: move hdmi_detect_config out of dc lock
Bug 1482982 Change-Id: I6d1e2881f10366c5fdbe08c5b8d0da38d68a41f4 Signed-off-by: Anshuman Nath Kar <anshumank@nvidia.com> Reviewed-on: http://git-master/r/385318 Reviewed-by: Thomas Cherry <tcherry@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Manish Tuteja <mtuteja@nvidia.com>
-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 b19b824488f5..c412506e9d64 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -917,7 +917,9 @@ static bool tegra_dc_hdmi_detect(struct tegra_dc *dc)
}
hdmi->eld_retrieved = true;
+ mutex_unlock(&dc->lock);
tegra_dc_hdmi_detect_config(dc, &specs);
+ return true;
}
success: