diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-11-12 10:03:32 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:13 -0400 |
commit | 59339b4fd9b0e5573a68207b9acc2561cb0174ed (patch) | |
tree | 7a0c2a7443bafae10fda4eef380f649ff2407c73 /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 0cc118c08c30e54073e5b8729c859a08ddbe3785 (diff) |
gpu: nvgpu: allocator: release semaphore on error
Release rw_sema properly when block allocator runs out of memory and
returns error.
Change-Id: I6b7cf9564ae25ad1ba30edfcb1ae8a20cf7dc9db
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/601792
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions