ASoC: SOF: ipc3-dtrace: Move dtrace related variables local from sof_dev
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 16 May 2022 10:47:11 +0000 (13:47 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 19 May 2022 15:44:19 +0000 (16:44 +0100)
commit0683532999ab3890f44f832cd47feee9e2374c22
tree1f86b3ed96c06bccfcc0266cf99a39f9d61857cc
parent08341b27bd2ee3c79265ef7925b3bc68a1790ab9
ASoC: SOF: ipc3-dtrace: Move dtrace related variables local from sof_dev

The variables and structs for DMA trace can be moved local to ipc3-dtrace.c
and the storage can be allocated dynamically, stored behind the
fw_trace_data pointer.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220516104711.26115-9-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc3-dtrace.c
sound/soc/sof/sof-priv.h