diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 9eebfe88..55ebf2da 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1059,6 +1059,9 @@ int gk20a_pm_finalize_poweron(struct device *dev) | |||
1059 | } | 1059 | } |
1060 | 1060 | ||
1061 | done: | 1061 | done: |
1062 | if (err) | ||
1063 | g->power_on = false; | ||
1064 | |||
1062 | return err; | 1065 | return err; |
1063 | } | 1066 | } |
1064 | 1067 | ||