diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/as_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/as_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/as_gk20a.c b/drivers/gpu/nvgpu/gk20a/as_gk20a.c index 65c26938..1d604b83 100644 --- a/drivers/gpu/nvgpu/gk20a/as_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/as_gk20a.c | |||
@@ -227,7 +227,7 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
227 | return -EFAULT; | 227 | return -EFAULT; |
228 | } | 228 | } |
229 | 229 | ||
230 | err = gk20a_channel_busy(g->dev); | 230 | err = gk20a_busy(g->dev); |
231 | if (err) | 231 | if (err) |
232 | return err; | 232 | return err; |
233 | 233 | ||
@@ -284,7 +284,7 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
284 | break; | 284 | break; |
285 | } | 285 | } |
286 | 286 | ||
287 | gk20a_channel_idle(g->dev); | 287 | gk20a_idle(g->dev); |
288 | 288 | ||
289 | if ((err == 0) && (_IOC_DIR(cmd) & _IOC_READ)) | 289 | if ((err == 0) && (_IOC_DIR(cmd) & _IOC_READ)) |
290 | err = copy_to_user((void __user *)arg, buf, _IOC_SIZE(cmd)); | 290 | err = copy_to_user((void __user *)arg, buf, _IOC_SIZE(cmd)); |