From: Varun Wadekar Date: Wed, 24 Nov 2010 08:42:30 +0000 (+0530) Subject: tegra: video: host: reset syncpoints on host initialization X-Git-Tag: firefly_0821_release~9833^2~93^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93834589391da560d9e065b78437dcce23093275;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Varun Wadekar --- 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);