mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk30: vpu_service: use part module reset to replace whole vpu reset
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user