diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-05-16 13:47:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-19 18:44:18 +0300 |
commit | 08341b27bd2ee3c79265ef7925b3bc68a1790ab9 (patch) | |
tree | 7cf10bfb232ccab5690f551b52041da8b9f1abc9 /sound/soc/sof/sof-priv.h | |
parent | 4b49cbd1e7ebe4b000a7eedc4f910488da62c055 (diff) | |
download | linux-08341b27bd2ee3c79265ef7925b3bc68a1790ab9.tar.xz |
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>
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-8-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index b176fc7e346c..d8d81e1ec259 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -549,6 +549,7 @@ struct snd_sof_dev { /* firmwre tracing */ bool fw_trace_is_supported; /* set with Kconfig or module parameter */ + void *fw_trace_data; /* private data used by firmware tracing implementation */ /* DMA for Trace */ struct snd_dma_buffer dmatb; |