aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/hda-trace.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-05-07 00:31:25 +0900
committerMark Brown <broonie@kernel.org>2024-05-07 00:31:25 +0900
commit6b045e2e21ed98be7b7b7ce75b64f25d9534f0ed (patch)
tree69116ae32ec15c69499f11f4bc821c8872582741 /sound/soc/sof/intel/hda-trace.c
parentf283219b2736e3072adbd6c658bc0c41ca9d9d5d (diff)
parent6fe61f31eab1ec84c385786cd052415d966e5235 (diff)
downloadlinux-6b045e2e21ed98be7b7b7ce75b64f25d9534f0ed.tar.gz
linux-6b045e2e21ed98be7b7b7ce75b64f25d9534f0ed.tar.bz2
linux-6b045e2e21ed98be7b7b7ce75b64f25d9534f0ed.zip
ASoC: SOF: Intel: remove circular dependency for
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: The SoundWire BPT support will rely on the HDaudio DMA. This exposes a circular dependency module dependency which has to be resolved by splitting common parts used by HDaudio and SoundWire parts, and 'generic' parts used by HDaudio only. This patchset does not change any functionality, it just moves code around, exposes symbols that are used in the new module. The code has been in use for more than one kernel cycle already so it really shouldn't break any existing platforms. The main issue with such code moves is that it makes backports or fixes more complicated. That's the main reason why we held back these patches until we were reasonably confident on the maturity of MTL and LNL drivers.
Diffstat (limited to 'sound/soc/sof/intel/hda-trace.c')
-rw-r--r--sound/soc/sof/intel/hda-trace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda-trace.c b/sound/soc/sof/intel/hda-trace.c
index cbb9bd7770e6..f0d959ba50c4 100644
--- a/sound/soc/sof/intel/hda-trace.c
+++ b/sound/soc/sof/intel/hda-trace.c
@@ -68,6 +68,7 @@ int hda_dsp_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
return ret;
}
+EXPORT_SYMBOL_NS(hda_dsp_trace_init, SND_SOC_SOF_INTEL_HDA_COMMON);
int hda_dsp_trace_release(struct snd_sof_dev *sdev)
{
@@ -86,6 +87,7 @@ int hda_dsp_trace_release(struct snd_sof_dev *sdev)
dev_dbg(sdev->dev, "DMA trace stream is not opened!\n");
return -ENODEV;
}
+EXPORT_SYMBOL_NS(hda_dsp_trace_release, SND_SOC_SOF_INTEL_HDA_COMMON);
int hda_dsp_trace_trigger(struct snd_sof_dev *sdev, int cmd)
{
@@ -93,3 +95,4 @@ int hda_dsp_trace_trigger(struct snd_sof_dev *sdev, int cmd)
return hda_dsp_stream_trigger(sdev, hda->dtrace_stream, cmd);
}
+EXPORT_SYMBOL_NS(hda_dsp_trace_trigger, SND_SOC_SOF_INTEL_HDA_COMMON);