mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
574b2593e6
First, configure the dmacfg in spi_dmarxsetup and spi_dmatxsetup. Then, check for dmacapable, and only after that set up the dma. This way the dmacapable actually works, and we don't need to initialize the dmacfg structures twice. Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>