diff options
author | 2024-04-02 10:18:24 -0500 | |
---|---|---|
committer | 2024-04-02 17:14:54 +0100 | |
commit | a6f2b279d22894e81b23464620d03da6429d9ab5 (patch) | |
tree | 95c341e4304af40bcc2c22f010c858d41f8dfc58 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: SOF: Intel: hda: Clear Soundwire node ID during BE DAI hw_free (diff) | |
download | wireguard-linux-a6f2b279d22894e81b23464620d03da6429d9ab5.tar.xz wireguard-linux-a6f2b279d22894e81b23464620d03da6429d9ab5.zip |
ASoC: SOF: sof-audio: revisit sof_pcm_stream_free() error handling and logs
For some reason the existing code stops on the first error, which
potentially leaves the DMA and widgets in a weird state.
Change to free-up all resources even in case of errors.
Also add a more consistent error handling and logs, with the first
error code returned to the caller.
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240402151828.175002-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions