summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc.c
diff options
context:
space:
mode:
authorNitin Kumbhar <nkumbhar@nvidia.com>2012-01-19 16:09:06 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-01-24 10:50:00 -0800
commit8f84dfdc7729d2ba94c2a919abe88fa2dac74364 (patch)
tree71f88bceff2233cdf819e5ae80107e9b997d5cef /drivers/video/tegra/dc/dc.c
parent2eba4f1db95aec53fdb3aa1ab4f7d6147a8ef5bb (diff)
video: tegra: dc: enable emc clock on probe
When dc->emc_clk_rate goes from 0 to non-zero the dispX.emc clock is enabled. This works with the sequence for probe and hotplug to have emc clock in the correct enable/disable state. Bug 927785 Bug 917769 Reviewed-on: http://git-master/r/76208 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Signed-off-by: Jon Mayo <jmayo@nvidia.com> Change-Id: I53cc8c5091967ce021dd3ec1e2bc75405dc8c45c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76813 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/video/tegra/dc/dc.c')
-rw-r--r--drivers/video/tegra/dc/dc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index e542dd19d667..7bbf1035a5c7 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -2719,8 +2719,7 @@ static int tegra_dc_probe(struct nvhost_device *ndev)
* The emc is a shared clock, it will be set based on
* the requirements for each user on the bus.
*/
- dc->emc_clk_rate = tegra_dc_get_default_emc_clk_rate(dc);
- clk_set_rate(emc_clk, dc->emc_clk_rate);
+ dc->emc_clk_rate = 0;
if (dc->pdata->flags & TEGRA_DC_FLAG_ENABLED)
dc->enabled = true;