ASoC: SOF: trace: send DMA_TRACE_FREE IPC during release
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Tue, 2 Nov 2021 10:10:19 +0000 (12:10 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Nov 2021 13:26:48 +0000 (13:26 +0000)
commit48b5b6a56002569881d18be56deaddad045df918
tree352f62cb6d760351ebb8171e065e895042355a63
parentb4e2d7ce132bc4337916662f8e699420377132d9
ASoC: SOF: trace: send DMA_TRACE_FREE IPC during release

Send the DMA_TRACE_FREE IPC during release to stop and free the trace
DMA in the DSP.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211102101019.14037-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/core.c
sound/soc/sof/trace.c