diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-05-16 13:47:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-19 16:44:12 +0100 |
commit | 25b17da691f3c1a7cc433f864fd4845998a5a37a (patch) | |
tree | 5b8dd99836d03989a7c97056533ab062f0b7bb81 /sound/soc/sof/sof-priv.h | |
parent | 0cfbaee21fcbf131f02c475dbc15f8a18ee621bc (diff) | |
download | linux-stable-25b17da691f3c1a7cc433f864fd4845998a5a37a.tar.gz linux-stable-25b17da691f3c1a7cc433f864fd4845998a5a37a.tar.bz2 linux-stable-25b17da691f3c1a7cc433f864fd4845998a5a37a.zip |
ASoC: SOF: Rename dtrace_is_supported flag to fw_trace_is_supported
Rename the internal flag to not limit it's use for dma-trace, but to be
used for generic firmware tracing functionality.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220516104711.26115-3-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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index a7ffb6ecf332..f1cbd2b0d1c9 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -546,13 +546,15 @@ struct snd_sof_dev { int ipc_timeout; int boot_timeout; + /* firmwre tracing */ + bool fw_trace_is_supported; /* set with Kconfig or module parameter */ + /* DMA for Trace */ struct snd_dma_buffer dmatb; struct snd_dma_buffer dmatp; int dma_trace_pages; wait_queue_head_t trace_sleep; u32 host_offset; - bool dtrace_is_supported; /* set with Kconfig or module parameter */ bool dtrace_error; bool dtrace_draining; enum sof_dtrace_state dtrace_state; |