ASoC: SOF: dma-trace: Pass pointer to params_ext struct in trace_init()
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 28 Jan 2022 12:36:23 +0000 (14:36 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Feb 2022 13:38:04 +0000 (13:38 +0000)
commitbab05b508ebfde32a14880696a13820d54510fcb
tree19fae9832c040369efd558317f9c69f158f76703
parent91e716b2a4f997cafb017c04351c2751fc820637
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>
sound/soc/sof/amd/acp-trace.c
sound/soc/sof/amd/acp.h
sound/soc/sof/intel/hda-trace.c
sound/soc/sof/intel/hda.h
sound/soc/sof/ops.h
sound/soc/sof/sof-priv.h
sound/soc/sof/trace.c