summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk_arb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_arb.c')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_arb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c
index dc063709..b8be3334 100644
--- a/drivers/gpu/nvgpu/clk/clk_arb.c
+++ b/drivers/gpu/nvgpu/clk/clk_arb.c
@@ -472,12 +472,12 @@ void nvgpu_clk_arb_cleanup_arbiter(struct gk20a *g)
472 destroy_workqueue(arb->update_work_queue); 472 destroy_workqueue(arb->update_work_queue);
473 arb->update_work_queue = NULL; 473 arb->update_work_queue = NULL;
474 474
475 kfree(arb->gpc2clk_f_points); 475 nvgpu_kfree(g, arb->gpc2clk_f_points);
476 kfree(arb->mclk_f_points); 476 nvgpu_kfree(g, arb->mclk_f_points);
477 477
478 for (index = 0; index < 2; index++) { 478 for (index = 0; index < 2; index++) {
479 kfree(arb->vf_table_pool[index].gpc2clk_points); 479 nvgpu_kfree(g, arb->vf_table_pool[index].gpc2clk_points);
480 kfree(arb->vf_table_pool[index].mclk_points); 480 nvgpu_kfree(g, arb->vf_table_pool[index].mclk_points);
481 } 481 }
482 } 482 }
483 483