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:
d4897e2
)
rk30: vpu_service: use part module reset to replace whole vpu reset
author
陈恒明
<chm@rock-chips.com>
Tue, 10 Apr 2012 08:36:15 +0000
(16:36 +0800)
committer
陈恒明
<chm@rock-chips.com>
Tue, 10 Apr 2012 08:36:15 +0000
(16:36 +0800)
arch/arm/plat-rk/vpu_service.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/vpu_service.c
b/arch/arm/plat-rk/vpu_service.c
index 1c03b106593ec8717c9bcaa1a3d78ec76690d9cb..4ee63b967f3e73a075b25ed72892bd0c76df5ad8 100644
(file)
--- a/
arch/arm/plat-rk/vpu_service.c
+++ b/
arch/arm/plat-rk/vpu_service.c
@@
-449,7
+449,9
@@
void reg_copy_to_hw(vpu_reg *reg)
case VPU_ENC : {
u32 *dst = (u32 *)enc_dev.hwregs;
#if defined(CONFIG_ARCH_RK30)
- vpu_reset();
+ writel_relaxed(0, dec_dev.hwregs + DEC_INTERRUPT_REGISTER);
+ cru_set_soft_reset(SOFT_RST_VCODEC_AHB, true);
+ cru_set_soft_reset(SOFT_RST_VCODEC_AHB, false);
#endif
service.reg_codec = reg;