Skip to content

Commit 6682a10

Browse files
iandmorriskartben
authored andcommitted
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 <ian.d.morris@outlook.com>
1 parent 2b92fe2 commit 6682a10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/spi/Kconfig.smartbond

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ config SPI_SMARTBOND
1111

1212
config SPI_SMARTBOND_DMA
1313
bool "Renesas Smartbond(tm) SPI with DMA acceleration"
14-
default y
1514
depends on SPI_SMARTBOND
1615
select DMA
1716
help
1817
Enables using the DMA engine instead of interrupt-driven
1918
approach. This acceleration is available only for
20-
asynchronous transfers.
19+
synchronous transfers.

0 commit comments

Comments
 (0)