diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 853b6a3c..7e2b9afb 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1227,12 +1227,12 @@ static int gk20a_pm_suspend(struct device *dev) | |||
1227 | if (atomic_read(&dev->power.usage_count) > 1) | 1227 | if (atomic_read(&dev->power.usage_count) > 1) |
1228 | return -EBUSY; | 1228 | return -EBUSY; |
1229 | 1229 | ||
1230 | gk20a_scale_suspend(to_platform_device(dev)); | ||
1231 | |||
1230 | ret = gk20a_pm_prepare_poweroff(dev); | 1232 | ret = gk20a_pm_prepare_poweroff(dev); |
1231 | if (ret) | 1233 | if (ret) |
1232 | return ret; | 1234 | return ret; |
1233 | 1235 | ||
1234 | gk20a_scale_suspend(to_platform_device(dev)); | ||
1235 | |||
1236 | if (platform->suspend) | 1236 | if (platform->suspend) |
1237 | platform->suspend(dev); | 1237 | platform->suspend(dev); |
1238 | 1238 | ||