diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/clk_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/clk_gk20a.c b/drivers/gpu/nvgpu/gk20a/clk_gk20a.c index 38d13b4b..24bb8eda 100644 --- a/drivers/gpu/nvgpu/gk20a/clk_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/clk_gk20a.c | |||
@@ -759,7 +759,7 @@ static int monitor_get(void *data, u64 *val) | |||
759 | u64 freq = clk->gpc_pll.clk_in; | 759 | u64 freq = clk->gpc_pll.clk_in; |
760 | u32 count1, count2; | 760 | u32 count1, count2; |
761 | 761 | ||
762 | err = gk20a_busy(g->dev); | 762 | err = gk20a_busy(g); |
763 | if (err) | 763 | if (err) |
764 | return err; | 764 | return err; |
765 | 765 | ||
@@ -783,7 +783,7 @@ static int monitor_get(void *data, u64 *val) | |||
783 | do_div(freq, ncycle); | 783 | do_div(freq, ncycle); |
784 | *val = freq; | 784 | *val = freq; |
785 | 785 | ||
786 | gk20a_idle(g->dev); | 786 | gk20a_idle(g); |
787 | 787 | ||
788 | if (count1 != count2) | 788 | if (count1 != count2) |
789 | return -EBUSY; | 789 | return -EBUSY; |