mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 17:03:29 +00: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:
parent
849081d348
commit
c6126bcdc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue