Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The ESP32 Xtensa SPI slave driver leaks its CPU interrupt allocation when a controller is deinitialized. Initializing SPI slave port 2 with esp32 spislv sctrlr initialize(2) obtains a CPU-level interrupt and…
The task
The ESP32 Xtensa SPI slave driver leaks its CPU interrupt allocation when a controller is deinitialized. Initializing SPI slave port 2 with `esp32_spislv_sctrlr_initialize(2)` obtains a CPU-level interrupt and attaches the SPI peripheral to it. On the final matching call to `esp32_spislv_sctrlr_uninitialize()`, the…
Part of henryen/OriGent-RL-Data.