From 308dd96b86aed94aad7c68ff4dd471009600386c Mon Sep 17 00:00:00 2001 From: yinshuqing Date: Mon, 22 Nov 2021 10:24:15 +0800 Subject: [PATCH] =?UTF-8?q?fixed=2051a5f85=20from=20https://gitee.com/qqko?= =?UTF-8?q?ngbai/drivers=5Fframework/pulls/414=20=E5=86=85=E5=AD=98?= =?UTF-8?q?=E6=B3=84=E6=BC=8F=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yinshuqing --- support/platform/src/dmac_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/support/platform/src/dmac_core.c b/support/platform/src/dmac_core.c index c5d529f0b..1cdccf936 100644 --- a/support/platform/src/dmac_core.c +++ b/support/platform/src/dmac_core.c @@ -229,6 +229,7 @@ static void DmacFreeChannel(struct DmaCntlr *cntlr, uint16_t channel) } OsalSpinLockIrqSave(&cntlr->lock, &flags); + DmacFreeLli(&cntlr->channelList[channel]); cntlr->channelList[channel].useStatus = DMAC_CHN_VACANCY; OsalSpinUnlockIrqRestore(&cntlr->lock, &flags); } -- Gitee