ASoC: SOF: ipc4: Only print LOG BUFFER update message info if requested
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 9 Sep 2022 11:43:26 +0000 (14:43 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 9 Sep 2022 17:48:44 +0000 (18:48 +0100)
commit621a3f772be5cfcd472880aa12ccb10d4c7afae3
tree1236b1b1d4796cc2ce4e3f8f5bd4d9fa0b52d4ee
parent523820002ea725b37f67e82e8584543b5f7baa32
ASoC: SOF: ipc4: Only print LOG BUFFER update message info if requested

Do not print messages when the SOF_DBG_PRINT_DMA_POSITION_UPDATE_LOGS flag
is not set to reduce the amount of prints when the tracing is used.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220909114332.31393-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4.c