summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 9ee5f282..7ae1febc 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -313,6 +313,7 @@ int gk20a_finalize_poweron(struct gk20a *g)
313 err = g->acr.bootstrap_hs_acr(g, &g->acr, &g->acr.acr); 313 err = g->acr.bootstrap_hs_acr(g, &g->acr, &g->acr.acr);
314 if (err != 0) { 314 if (err != 0) {
315 nvgpu_err(g, "ACR bootstrap failed"); 315 nvgpu_err(g, "ACR bootstrap failed");
316 nvgpu_mutex_release(&g->tpc_pg_lock);
316 goto done; 317 goto done;
317 } 318 }
318 } 319 }
@@ -321,7 +322,8 @@ int gk20a_finalize_poweron(struct gk20a *g)
321 err = nvgpu_init_sec2_support(g); 322 err = nvgpu_init_sec2_support(g);
322 if (err != 0) { 323 if (err != 0) {
323 nvgpu_err(g, "failed to init sec2"); 324 nvgpu_err(g, "failed to init sec2");
324 goto done; 325 nvgpu_mutex_release(&g->tpc_pg_lock);
326 goto done;
325 } 327 }
326 } 328 }
327 329