PD#154836: di: move enable pre mif before frame reset avoid timeout
1) enable pre mif before&after frame reset for
mc mif will be clear by pre frame reset
Change-Id: Ied15c337c4b28a62a873bd36361357b8fecdaf32
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
vdin_ops->tvin_vdin_func(0, &vdin_arg);
}
#endif
+ /* enable pre mif before reset avoid timeout */
+ enable_di_pre_mif(true, mcpre_en);
/* frame + soft reset for the pre modules. */
RDMA_WR(DI_PRE_CTRL, Rd(DI_PRE_CTRL) | 3 << 30);
RDMA_WR(DI_PRE_CTRL,
RDMA_WR_BITS(DI_PRE_CTRL, 1, 13, 1);
#endif
- /* enable pre mif*/
+ /* enable mc pre mif*/
enable_di_pre_mif(true, mcpre_en);
di_pre_stru.irq_time = sched_clock()/NSEC_PER_MSEC;
#ifdef CONFIG_AMLOGIC_MEDIA_RDMA