From 9824a05d7cfaf7fe8667d59f1bcc1d7e7fe9fe3b Mon Sep 17 00:00:00 2001 From: "Kalva, DineshKumar" Date: Wed, 13 Dec 2023 18:50:08 +0530 Subject: [PATCH] dma-copy: remove CONFIG_DMA_GW macro. Remove CONFIG_DMA_GW macro to use dma_copy_set_stream_tag function to get dma channel on AMD platforms for probe. Signed-off-by: Kalva, DineshKumar --- src/ipc/dma-copy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ipc/dma-copy.c b/src/ipc/dma-copy.c index 80c9ed385..ee58ceb98 100644 --- a/src/ipc/dma-copy.c +++ b/src/ipc/dma-copy.c @@ -184,8 +184,6 @@ int dma_copy_new(struct dma_copy *dc) return 0; } -#if CONFIG_DMA_GW - int dma_copy_set_stream_tag(struct dma_copy *dc, uint32_t stream_tag) { /* get DMA channel from DMAC */ @@ -198,4 +196,3 @@ int dma_copy_set_stream_tag(struct dma_copy *dc, uint32_t stream_tag) return 0; } -#endif