summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-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 8e142e6e..c13c9614 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -754,7 +754,9 @@ static int gk20a_pm_prepare_poweroff(struct device *dev)
754 if (!g->power_on) 754 if (!g->power_on)
755 return 0; 755 return 0;
756 756
757 ret |= gk20a_channel_suspend(g); 757 ret = gk20a_channel_suspend(g);
758 if (ret)
759 return ret;
758 760
759 /* 761 /*
760 * After this point, gk20a interrupts should not get 762 * After this point, gk20a interrupts should not get