Skip to content

Commit 8a89c99

Browse files
ujfalusiplbossart
authored andcommitted
ASoC: SOF: Introduce opaque storage of private data for firmware tracing
Firmware tracing implementations can allocate and store their privately used data behind the fw_trace_pdata pointer instead of adding more members to struct snd_sof_dev. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 090c63d commit 8a89c99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sof/sof-priv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ struct snd_sof_dev {
551551

552552
/* firmwre tracing */
553553
bool fw_trace_is_supported; /* set with Kconfig or module parameter */
554+
void *fw_trace_data; /* private data used by firmware tracing implementation */
554555

555556
/* DMA for Trace */
556557
struct snd_dma_buffer dmatb;

0 commit comments

Comments
 (0)