diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-07-28 08:47:07 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:41 -0400 |
commit | a20bb7dde2de191cb18545d6ccd98b30a6faaf84 (patch) | |
tree | 21c4b115c3f080ed2b10f277e30734c1dd471595 /drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |
parent | 4df9290536dc02250eac2abbf0d4dc5d27f0edcc (diff) |
gpu: nvgpu: fix error handling for mutex_acquire()
Currently if pmu_mutex_acquire() fails, we disable ELPG
and move ahead. But it is not clear why it is required
to disable ELPG in case where we fail to acquire mutex.
Hence skip disabling ELPG if mutex_acquire() fails
Bug 1533644
Change-Id: I7e8e99a701d0ba071eb31ac17582b04072ee55eb
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/448131
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
0 files changed, 0 insertions, 0 deletions