summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/bus_client.c
diff options
context:
space:
mode:
authorMayuresh Kulkarni <mkulkarni@nvidia.com>2012-03-27 14:54:47 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-03-30 08:08:59 -0700
commit1a1b1468b9ef4c33c7408b0c67bb9f751d485dec (patch)
tree6292140237e963c6f58bf6ac04fabc114fec98cb /drivers/video/tegra/host/bus_client.c
parenta55e86c26f4096aa7897455bf9e3146ab52f7036 (diff)
video: tegra: host: do not assume 3d channel opened by user space
- if user space does not open 3d channel, 3d scaling algorithm is not initialized. so return safely when 3d scaling is disabled - also do not call nvhost_module_suspend() explicitly for host1x client modules. nvhost_channel_suspend() takes care to suspend the module if ref count = 0 - call nvhost_module_suspend() only for host1x device as it does not use actual hardware channel Bug 953451 Change-Id: Iba2b771b71d9b41c8ed978112566181872c56259 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/92506 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Peer Chen <pchen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Emily Jiang <ejiang@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/bus_client.c')
-rw-r--r--drivers/video/tegra/host/bus_client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/bus_client.c b/drivers/video/tegra/host/bus_client.c
index 736f3da0bdec..940f04a40e89 100644
--- a/drivers/video/tegra/host/bus_client.c
+++ b/drivers/video/tegra/host/bus_client.c
@@ -600,7 +600,6 @@ int nvhost_client_device_suspend(struct nvhost_device *dev)
if (ret)
return ret;
- ret = nvhost_module_suspend(dev, true);
dev_info(&dev->dev, "suspend status: %d\n", ret);
return ret;