mirror of
https://github.com/apache/nuttx.git
synced 2026-06-12 22:24:12 +08:00
d7ab3cc1be
as we always want to take critical_section, and it is not long time job, take mutex is not necessary, use spinlock_irq_save as a replace is better, dont't have to take global critial_section in pm. Signed-off-by: buxiasen <buxiasen@xiaomi.com>