video: tegra: host: Reset syncpts on module init
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 2 Jan 2013 08:56:32 +0000 (10:56 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:29:11 +0000 (01:29 -0700)
commit82ccc5e6867cf656db2e9cc6379895653d899098
tree47d4970b5169716cd2a643c3cef6d057e678207d
parent948fdebd875c33831aa62eea1f1a3cf298022d90
video: tegra: host: Reset syncpts on module init

In rare conditions the client module may have a pending
operation during module initialization. This causes an unexpected
syncpoint increment.

Bug 1211690

Change-Id: I2f4202868b97b8ffdcb8d4d78847ba26731acc0e
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/187951
(cherry picked from commit 650c3e64955b35f89cb7e5aa6c806f80d2ca1566)
Reviewed-on: http://git-master/r/190670
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/nvhost_syncpt.c
drivers/video/tegra/host/nvhost_syncpt.h