summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
index 0eff4e2f..7a71c4eb 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
@@ -606,7 +606,7 @@ static int gk20a_channel_semaphore_wait_fd(
606#else 606#else
607 status = atomic_read(&sync_fence->status); 607 status = atomic_read(&sync_fence->status);
608#endif 608#endif
609 if (status) { 609 if (status == 0) {
610 sync_fence_put(sync_fence); 610 sync_fence_put(sync_fence);
611 goto skip_slow_path; 611 goto skip_slow_path;
612 } 612 }