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:
chao an
2025-01-14 00:22:38 +08:00
committed by Xiang Xiao
parent daebf4c8b7
commit a9ec6e9b3a
+1 -1
View File
@@ -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