Skip to content

Commit

Permalink
drivers: spi: smartbond: remove default enabling of dma acceleration
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
iandmorris authored and kartben committed Dec 6, 2024
1 parent 2b92fe2 commit 6682a10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/spi/Kconfig.smartbond
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 6682a10

Please sign in to comment.