summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/ctrl/ctrlclk.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-11-08 15:57:20 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-11 11:20:19 -0500
commit9d4f04a68e4661710963b6a4a33f4742684d07a4 (patch)
tree483d3b5e328cd9b058c917404e7b6072f6cf029e /drivers/gpu/nvgpu/ctrl/ctrlclk.h
parent24f001875587b8e02f67b07663a2fcfcc7737557 (diff)
gpu: nvgpu: Do not free NULL sync_fence
When allocating a fence fails, free sync_fence only if one has been created. Change-Id: I2ecefd25c4e000f415b28c7c2b01b91654d6ef43 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1249958 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl/ctrlclk.h')
0 files changed, 0 insertions, 0 deletions