summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/as_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/as_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/as_gk20a.c4
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 ea0fb8f5..42fa2167 100644
--- a/drivers/gpu/nvgpu/gk20a/as_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/as_gk20a.c
@@ -231,7 +231,7 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
231 return -EFAULT; 231 return -EFAULT;
232 } 232 }
233 233
234 err = gk20a_channel_busy(g->dev); 234 err = gk20a_busy(g->dev);
235 if (err) 235 if (err)
236 return err; 236 return err;
237 237
@@ -288,7 +288,7 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
288 break; 288 break;
289 } 289 }
290 290
291 gk20a_channel_idle(g->dev); 291 gk20a_idle(g->dev);
292 292
293 if ((err == 0) && (_IOC_DIR(cmd) & _IOC_READ)) 293 if ((err == 0) && (_IOC_DIR(cmd) & _IOC_READ))
294 err = copy_to_user((void __user *)arg, buf, _IOC_SIZE(cmd)); 294 err = copy_to_user((void __user *)arg, buf, _IOC_SIZE(cmd));