summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fence_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
index 3b1f1024..4b98a4e7 100644
--- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
@@ -205,7 +205,7 @@ struct gk20a_fence *gk20a_fence_from_syncpt(struct platform_device *host1x_pdev,
205 205
206 sync_fence = nvhost_sync_create_fence(host1x_pdev, &pt, 1, 206 sync_fence = nvhost_sync_create_fence(host1x_pdev, &pt, 1,
207 "fence"); 207 "fence");
208 if (!sync_fence) 208 if (IS_ERR(sync_fence))
209 return NULL; 209 return NULL;
210#endif 210#endif
211 211