diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c index a5267eac..335c3f3b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |||
@@ -279,7 +279,7 @@ static ssize_t elpg_enable_store(struct device *device, | |||
279 | * Since elpg is refcounted, we should not unnecessarily call | 279 | * Since elpg is refcounted, we should not unnecessarily call |
280 | * enable/disable if it is already so. | 280 | * enable/disable if it is already so. |
281 | */ | 281 | */ |
282 | err = gk20a_channel_busy(g->dev); | 282 | err = gk20a_busy(g->dev); |
283 | if (err) | 283 | if (err) |
284 | return -EAGAIN; | 284 | return -EAGAIN; |
285 | 285 | ||
@@ -290,7 +290,7 @@ static ssize_t elpg_enable_store(struct device *device, | |||
290 | g->elpg_enabled = false; | 290 | g->elpg_enabled = false; |
291 | gk20a_pmu_disable_elpg(g); | 291 | gk20a_pmu_disable_elpg(g); |
292 | } | 292 | } |
293 | gk20a_channel_idle(g->dev); | 293 | gk20a_idle(g->dev); |
294 | 294 | ||
295 | dev_info(device, "ELPG is %s.\n", g->elpg_enabled ? "enabled" : | 295 | dev_info(device, "ELPG is %s.\n", g->elpg_enabled ? "enabled" : |
296 | "disabled"); | 296 | "disabled"); |