From d32680fde8c8b4a449c5423b44437bc810ab8f17 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Thu, 9 Jan 2025 09:48:53 +0200 Subject: [PATCH] zephyr: lib: dma: Fix compilation issue In stable branch SOF_ prefix is not yet added to some defines. Fix this. Signed-off-by: Daniel Baluta --- zephyr/lib/dma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zephyr/lib/dma.c b/zephyr/lib/dma.c index 7ee0745d6b8f..0a3792cd5925 100644 --- a/zephyr/lib/dma.c +++ b/zephyr/lib/dma.c @@ -153,8 +153,8 @@ 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, }, @@ -162,8 +162,8 @@ SHARED_DATA struct dma dma[] = { }, { .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, },