[BUG] double unlock in esp32_serial.c
Open
Arch: xtensa
Area: Drivers
OS: Mac
Type: Bug
- Dominant language
- C
- Stars
- 4k
- Forks
- 1.7k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 237
Description
### Description / Steps to reproduce the issue
see https://github.com/apache/nuttx/blob/a14b97b98bee2bef30c4359ee8da4b2e00bae93d/arch/xtensa/src/esp32/esp32_serial.c#L1813-L1825
and find the consecutive `spin_unlock_irqrestore` calls on the same lock.
### On which OS does this issue occur?
[OS: Mac]
### What is the version of your OS?
macOS 14.7
### NuttX Version
master
### Issue Architecture
[Arch: xtensa]
### Issue Area
[Area: Drivers]
### Verification
- [X] I have verified before submitting the report.
Contributor guide
Assessment
This issue has not been assessed yet.