Unverified Commit e813526e authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown
Browse files

ASoC: SOF: trace: The dtrace is only available with SOF_IPC

parent 29f4078f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -457,6 +457,10 @@ int snd_sof_init_trace(struct snd_sof_dev *sdev)
{
	int ret;

	/* dtrace is only supported with SOF_IPC */
	if (sdev->pdata->ipc_type != SOF_IPC)
		sdev->dtrace_is_supported = false;

	if (!sdev->dtrace_is_supported)
		return 0;