summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/boardobj/boardobjgrp.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-30 16:34:07 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-07 23:07:16 -0400
commit5e2c0c5c96d68aed9f6e2de857d49a61990ae55f (patch)
tree6148bb80fa15149fd44f22ede241fa7eec392e95 /drivers/gpu/nvgpu/boardobj/boardobjgrp.c
parentbb457e675ed2c5dde45e2e89e3e472833444d3f9 (diff)
gpu: nvgpu: Use error code in xve clock change
Use the error code generated when the XVE clock change times out. Before this the error code was being set and the while loop that was polling the clock change status was broken out of. But the error code was only used later on in the while loop. Now just set the error code and only break from the loop later on when that error code is actually checked. Coverity ID: 2624553 Bug 200291879 Change-Id: If8f6046efcc9c4ad0eb13715735a57870be26110 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1548711 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp.c')
0 files changed, 0 insertions, 0 deletions