mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
arch/arm: fix regression by spinlock change
| commit c96b8cdfdd
| Author: hujun5 <hujun5@xiaomi.com>
| Date: Mon Dec 23 16:59:20 2024 +0800
|
| use small lock in following files:
Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
@@ -1043,7 +1043,7 @@ static int stm32l4_position(struct qe_lowerhalf_s *lower,
|
||||
|
||||
/* Loop until we are certain that no interrupt occurred between samples */
|
||||
|
||||
spin_lock_irqsave(&priv->lock);
|
||||
flags = spin_lock_irqsave(&priv->lock);
|
||||
do
|
||||
{
|
||||
position = priv->position;
|
||||
|
||||
Reference in New Issue
Block a user