From 706383854206d1830d8634f53d1074a300330fa2 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Tue, 15 Jan 2019 09:41:34 +0100 Subject: [PATCH] trace: disable DMA tracing on Sue Creek On Sue Creek tracing is performed over a UART, since no direct DMA connection to the host is available. Disable DMA tracing on that platform. Signed-off-by: Guennadi Liakhovetski --- src/ipc/handler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ipc/handler.c b/src/ipc/handler.c index 1f5f7e567..c5893ca82 100644 --- a/src/ipc/handler.c +++ b/src/ipc/handler.c @@ -708,6 +708,10 @@ static int ipc_dma_trace_config(uint32_t header) /* copy message with ABI safe method */ IPC_COPY_CMD(params, _ipc->comp_data); +#ifdef CONFIG_SUECREEK + return 0; +#endif + #ifdef CONFIG_HOST_PTABLE dma_sg_init(&elem_array);