diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index f04e9187..2e406474 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1514,6 +1514,8 @@ int gk20a_busy(struct platform_device *pdev) | |||
1514 | 1514 | ||
1515 | #ifdef CONFIG_PM_RUNTIME | 1515 | #ifdef CONFIG_PM_RUNTIME |
1516 | ret = pm_runtime_get_sync(&pdev->dev); | 1516 | ret = pm_runtime_get_sync(&pdev->dev); |
1517 | if (ret < 0) | ||
1518 | pm_runtime_put_noidle(&pdev->dev); | ||
1517 | #endif | 1519 | #endif |
1518 | gk20a_scale_notify_busy(pdev); | 1520 | gk20a_scale_notify_busy(pdev); |
1519 | 1521 | ||