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> |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |