arch/esp32c3: Fix the compiler error in esp32c3_spi.c
which is made by:
commit 87a1f69a3c
Author: Alan Carvalho de Assis <acassis@gmail.com>
Date: Fri Dec 16 15:23:39 2022 -0300
Modify the IRQ APIs to be compatible with ESP32/S2/S3
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
cc9166274a
commit
d3872e0479
|
@ -1456,7 +1456,7 @@ int esp32c3_spibus_uninitialize(struct spi_dev_s *dev)
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32C3_SPI2_DMA
|
#ifdef CONFIG_ESP32C3_SPI2_DMA
|
||||||
up_disable_irq(priv->config->irq);
|
up_disable_irq(priv->config->irq);
|
||||||
esp32c3_free_cpuint(priv->config->periph, priv->cpuint);
|
esp32c3_teardown_irq(priv->config->periph, priv->cpuint);
|
||||||
priv->cpuint = -ENOMEM;
|
priv->cpuint = -ENOMEM;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue