mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 00:30:23 +00:00
arch/arm64: fix typo spin_lock_irqsave -> spin_unlock_irqrestore
should be spin_unlock_irqrestore Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
parent
daebf4c8b7
commit
a9ec6e9b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ static struct imx9_edmatcd_s *imx9_tcd_alloc(void)
|
|||
tcd = (struct imx9_edmatcd_s *)sq_remfirst(&g_tcd_free);
|
||||
DEBUGASSERT(tcd != NULL);
|
||||
|
||||
spin_lock_irqsave(&g_edma.lock, flags);
|
||||
spin_unlock_irqrestore(&g_edma.lock, flags);
|
||||
return tcd;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue