diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-01-28 15:36:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-08 16:38:04 +0300 |
commit | bab05b508ebfde32a14880696a13820d54510fcb (patch) | |
tree | 19fae9832c040369efd558317f9c69f158f76703 /sound/soc/sof/trace.c | |
parent | 91e716b2a4f997cafb017c04351c2751fc820637 (diff) | |
download | linux-bab05b508ebfde32a14880696a13820d54510fcb.tar.xz |
ASoC: SOF: dma-trace: Pass pointer to params_ext struct in trace_init()
Instead of passing a pointer to the stream_tag within the
struct sof_ipc_dma_trace_params_ext, pass the pointer to the containing
struct.
AMD needs to update buffer.phy_addr (and don't really use the stream_tag)
for the trace implementation.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220128123623.23569-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/trace.c')
-rw-r--r-- | sound/soc/sof/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/trace.c b/sound/soc/sof/trace.c index 9b505c4fe794..2335d0f06d42 100644 --- a/sound/soc/sof/trace.c +++ b/sound/soc/sof/trace.c @@ -409,7 +409,7 @@ int snd_sof_init_trace_ipc(struct snd_sof_dev *sdev) sdev->host_offset = 0; sdev->dtrace_draining = false; - ret = snd_sof_dma_trace_init(sdev, ¶ms.stream_tag); + ret = snd_sof_dma_trace_init(sdev, ¶ms); if (ret < 0) { dev_err(sdev->dev, "error: fail in snd_sof_dma_trace_init %d\n", ret); |