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 a488178f..b5bd6bf7 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
@@ -283,7 +283,7 @@ static void gk20a_channel_syncpt_destroy(struct gk20a_channel_sync *s)
283 struct gk20a_channel_syncpt *sp = 283 struct gk20a_channel_syncpt *sp =
284 container_of(s, struct gk20a_channel_syncpt, ops); 284 container_of(s, struct gk20a_channel_syncpt, ops);
285 nvhost_syncpt_set_min_eq_max_ext(sp->host1x_pdev, sp->id); 285 nvhost_syncpt_set_min_eq_max_ext(sp->host1x_pdev, sp->id);
286 nvhost_free_syncpt(sp->id); 286 nvhost_syncpt_put_ref_ext(sp->id);
287 kfree(sp); 287 kfree(sp);
288} 288}
289 289