summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/clk')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_arb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c
index 4f09da74..0df9545a 100644
--- a/drivers/gpu/nvgpu/clk/clk_arb.c
+++ b/drivers/gpu/nvgpu/clk/clk_arb.c
@@ -490,9 +490,9 @@ void nvgpu_clk_arb_cleanup_arbiter(struct gk20a *g)
490 nvgpu_kfree(g, arb->vf_table_pool[index].mclk_points); 490 nvgpu_kfree(g, arb->vf_table_pool[index].mclk_points);
491 } 491 }
492 nvgpu_mutex_destroy(&g->clk_arb->pstate_lock); 492 nvgpu_mutex_destroy(&g->clk_arb->pstate_lock);
493 nvgpu_kfree(g, g->clk_arb);
494 g->clk_arb = NULL;
493 } 495 }
494 nvgpu_kfree(g, g->clk_arb);
495 g->clk_arb = NULL;
496} 496}
497 497
498static int nvgpu_clk_arb_install_fd(struct gk20a *g, 498static int nvgpu_clk_arb_install_fd(struct gk20a *g,