From 6682a10183c477f7874f20fe60b72bf6624eff31 Mon Sep 17 00:00:00 2001 From: Ian Morris Date: Sat, 23 Nov 2024 14:30:13 -0800 Subject: [PATCH] drivers: spi: smartbond: remove default enabling of dma acceleration The Smartbond SPI driver enables DMA acceleration by default. However no DMA configuration is provided in the SPI node, resulting in run time errors when the SPI interface is used. Instead, the application should explicitly enable DMA acceleration and select the DMA channels and priorities. Signed-off-by: Ian Morris --- drivers/spi/Kconfig.smartbond | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/Kconfig.smartbond b/drivers/spi/Kconfig.smartbond index d1e91bd6654..bbfeac7ddd9 100644 --- a/drivers/spi/Kconfig.smartbond +++ b/drivers/spi/Kconfig.smartbond @@ -11,10 +11,9 @@ config SPI_SMARTBOND config SPI_SMARTBOND_DMA bool "Renesas Smartbond(tm) SPI with DMA acceleration" - default y depends on SPI_SMARTBOND select DMA help Enables using the DMA engine instead of interrupt-driven approach. This acceleration is available only for - asynchronous transfers. + synchronous transfers.