]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
nvhost: Add locking to module clock code
authorTerje Bergstrom <tbergstrom@nvidia.com>
Thu, 1 Sep 2011 05:19:50 +0000 (08:19 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 00:29:37 +0000 (17:29 -0700)
commit26d031eae00ae2dda7e074955c4f6d398ea318cf
tree4fd79039296327d9dd4269f243afa7b32465a719
parentb7312024827c046973c171c8ab218575ce67fb62
nvhost: Add locking to module clock code

nvhost_module_add_client(), nvhost_module_remove_client() and
nvhost_module_set_rate() need locking when accessing the client list.

Bug 870328

(cherry picked from commit a09309d672fd2f96be1b61d58c57dcc659710e92)

Change-Id: I4c556df0e9607b3e2effb3b788220b784f858774
Reviewed-on: http://git-master/r/52845
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Rebase-Id: R379d4317b22c1360a4756e28fbf66655e3aded95
drivers/video/tegra/host/nvhost_acm.c