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:
chao an 2025-01-13 21:32:35 +08:00 committed by Xiang Xiao
parent 849081d348
commit c6126bcdc4

View file

@ -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;