projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a3936
)
rk29: vpu_service: fix bug on task counting
author
陈恒明
<chm@rock-chips.com>
Wed, 31 Aug 2011 10:50:44 +0000
(18:50 +0800)
committer
陈恒明
<chm@rock-chips.com>
Wed, 31 Aug 2011 10:50:44 +0000
(18:50 +0800)
arch/arm/mach-rk29/vpu_service.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/vpu_service.c
b/arch/arm/mach-rk29/vpu_service.c
index bdebd44b19e7a53172cb4da919c540163ce55af7..91695dd31c3beb54f1073b0748855ca71326b45b 100644
(file)
--- a/
arch/arm/mach-rk29/vpu_service.c
+++ b/
arch/arm/mach-rk29/vpu_service.c
@@
-586,10
+586,9
@@
static long vpu_service_ioctl(struct file *filp, unsigned int cmd, unsigned long
vpu_service_dump();
if (task_running) {
atomic_set(&session->task_running, 0);
- atomic_sub(task_running, &service.total_running);
- pr_err("%d task is running but not return, reset hardware...", task_running);
+ printk("%d task is running but not return, reset hardware...", task_running);
vpu_reset();
- pr
_err
("done\n");
+ pr
intk
("done\n");
}
vpu_service_session_clear(session);
return ret;