summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 5641818e..c91a316a 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -765,7 +765,8 @@ static int gk20a_pm_prepare_poweroff(struct device *dev)
765 ret |= gk20a_fifo_suspend(g); 765 ret |= gk20a_fifo_suspend(g);
766 766
767 /* Disable GPCPLL */ 767 /* Disable GPCPLL */
768 ret |= g->ops.clk.suspend_clk_support(g); 768 if (g->ops.clk.suspend_clk_support)
769 ret |= g->ops.clk.suspend_clk_support(g);
769 770
770 g->power_on = false; 771 g->power_on = false;
771 772