projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5804531
)
tegra: video: host: reset syncpoints on host initialization
author
Varun Wadekar
<vwadekar@nvidia.com>
Wed, 24 Nov 2010 08:42:30 +0000
(14:12 +0530)
committer
Erik Gilling
<konkers@android.com>
Mon, 6 Dec 2010 22:18:12 +0000
(14:18 -0800)
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>
drivers/video/tegra/host/dev.c
patch
|
blob
|
history
diff --git
a/drivers/video/tegra/host/dev.c
b/drivers/video/tegra/host/dev.c
index d98327978ed4477b8422b4fd7c13ec70b393d0b8..20a4eda0fb53e34e55c0026aace2021b5125c825 100644
(file)
--- 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);