diff --git a/src/ipc/handler-ipc3.c b/src/ipc/handler-ipc3.c index 59a538292..d2fd4d75e 100644 --- a/src/ipc/handler-ipc3.c +++ b/src/ipc/handler-ipc3.c @@ -683,6 +683,12 @@ static int ipc_glb_pm_message(uint32_t header) /* * Debug IPC Operations. */ +#if CONFIG_SUECREEK || defined __ZEPHYR__ +static int ipc_dma_trace_config(uint32_t header) +{ + return 0; +} +#else static int ipc_dma_trace_config(uint32_t header) { #if CONFIG_HOST_PTABLE @@ -703,10 +709,6 @@ static int ipc_dma_trace_config(uint32_t header) else timer->delta = 0; -#if CONFIG_SUECREEK || defined __ZEPHYR__ - return 0; -#endif - #if CONFIG_HOST_PTABLE err = ipc_process_host_buffer(ipc, ¶ms.buffer, SOF_IPC_STREAM_CAPTURE, @@ -740,6 +742,7 @@ static int ipc_dma_trace_config(uint32_t header) error: return err; } +#endif /* CONFIG_SUECREEK || defined __ZEPHYR__ */ static int ipc_trace_filter_update(uint32_t header) {