summaryrefslogtreecommitdiff
path: root/sound/soc/sof/ipc3-dtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sof/ipc3-dtrace.c')
-rw-r--r--sound/soc/sof/ipc3-dtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/ipc3-dtrace.c b/sound/soc/sof/ipc3-dtrace.c
index bd07f0472efd..0dca139322f3 100644
--- a/sound/soc/sof/ipc3-dtrace.c
+++ b/sound/soc/sof/ipc3-dtrace.c
@@ -494,7 +494,7 @@ static int ipc3_dtrace_init(struct snd_sof_dev *sdev)
int ret;
/* dtrace is only supported with SOF_IPC */
- if (sdev->pdata->ipc_type != SOF_IPC)
+ if (sdev->pdata->ipc_type != SOF_IPC_TYPE_3)
return -EOPNOTSUPP;
if (sdev->fw_trace_data) {