diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index 30d5589bf..208a28097 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c @@ -418,6 +418,7 @@ void gk20a_ce_destroy(struct gk20a *g) nvgpu_mutex_destroy(&ce_app->app_mutex); free: nvgpu_kfree(g, ce_app); + g->ce_app = NULL; } void gk20a_ce_suspend(struct gk20a *g)