Skip to content

Commit

Permalink
zephyr: lib: dma: Fix compilation issue
Browse files Browse the repository at this point in the history
In stable branch SOF_ prefix is not yet added to some defines. Fix this.

Signed-off-by: Daniel Baluta <[email protected]>
  • Loading branch information
dbaluta committed Jan 9, 2025
1 parent 11ce46c commit d32680f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zephyr/lib/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,17 @@ SHARED_DATA struct dma dma[] = {
#if defined(CONFIG_SOC_MIMX8ML8_ADSP)
{
.plat_data = {
.dir = SOF_DMA_DIR_MEM_TO_DEV | SOF_DMA_DIR_DEV_TO_MEM,
.devs = SOF_DMA_DEV_SAI,
.dir = DMA_DIR_MEM_TO_DEV | DMA_DIR_DEV_TO_MEM,
.devs = DMA_DEV_SAI,
.channels = 32,
.period_count = 2,
},
.z_dev = DEVICE_DT_GET(DT_NODELABEL(sdma3)),
},
{
.plat_data = {
.dir = SOF_DMA_DIR_HMEM_TO_LMEM | SOF_DMA_DIR_LMEM_TO_HMEM,
.devs = SOF_DMA_DEV_HOST,
.dir = DMA_DIR_HMEM_TO_LMEM | DMA_DIR_LMEM_TO_HMEM,
.devs = DMA_DEV_HOST,
.channels = 32,
.period_count = 2,
},
Expand Down

0 comments on commit d32680f

Please sign in to comment.