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 2d2cf220..9ebc5bab 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |||
@@ -301,7 +301,7 @@ static ssize_t elpg_enable_store(struct device *device, | |||
301 | * Since elpg is refcounted, we should not unnecessarily call | 301 | * Since elpg is refcounted, we should not unnecessarily call |
302 | * enable/disable if it is already so. | 302 | * enable/disable if it is already so. |
303 | */ | 303 | */ |
304 | err = gk20a_channel_busy(g->dev); | 304 | err = gk20a_busy(g->dev); |
305 | if (err) | 305 | if (err) |
306 | return -EAGAIN; | 306 | return -EAGAIN; |
307 | 307 | ||
@@ -312,7 +312,7 @@ static ssize_t elpg_enable_store(struct device *device, | |||
312 | g->elpg_enabled = false; | 312 | g->elpg_enabled = false; |
313 | gk20a_pmu_disable_elpg(g); | 313 | gk20a_pmu_disable_elpg(g); |
314 | } | 314 | } |
315 | gk20a_channel_idle(g->dev); | 315 | gk20a_idle(g->dev); |
316 | 316 | ||
317 | dev_info(device, "ELPG is %s.\n", g->elpg_enabled ? "enabled" : | 317 | dev_info(device, "ELPG is %s.\n", g->elpg_enabled ? "enabled" : |
318 | "disabled"); | 318 | "disabled"); |