summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2010-11-24 14:12:30 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:36:47 -0800
commit45b11201848dba10d796f87036cbc01710d1a617 (patch)
tree2dc00c16783f40edef12d517a7f067b90365a126 /drivers
parentfa955b8bf1506483286734cb1dd319774c74dc21 (diff)
tegra: video: host: reset syncpoints on host initialization
Added syncpoints reset to host initialization, to synchronize h/w state with shadow variables. Change-Id: Ia0a3a644dc5b30ef98158906bcc96954d1c613ff Author: Alex Frid <afrid@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/host/dev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c
index d98327978ed4..20a4eda0fb53 100644
--- a/drivers/video/tegra/host/dev.c
+++ b/drivers/video/tegra/host/dev.c
@@ -713,6 +713,10 @@ static int __devinit nvhost_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, host);
+ clk_enable(host->mod.clk[0]);
+ nvhost_syncpt_reset(&host->syncpt);
+ clk_disable(host->mod.clk[0]);
+
nvhost_bus_register(host);
nvhost_debug_init(host);