mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
demux: add delay when close wdma [1/1]
PD#SWPL-151824 Problem: dmc monitor wdma use free memory. Solution: add delay when close wdma Verify: verified at T5M Change-Id: I34a671bead69a77561377424ff959482cc0eae59 Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
8b927f8f1b
commit
d99aba6b35
@@ -713,6 +713,8 @@ void wdma_config_enable(struct chan_id *pchan, int enable,
|
||||
if (cnt)
|
||||
msleep(20);
|
||||
wdma_clean(pchan->id);
|
||||
/*wait the hw can't output*/
|
||||
usleep_range(300, 400);
|
||||
//delay
|
||||
// while (times ++ < 500);
|
||||
pr_dbg("%s wptr:0x%0x\n", __func__,
|
||||
|
||||
Reference in New Issue
Block a user