diff options
author | Pierre-Louis Bossart <[email protected]> | 2024-04-02 10:18:24 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-04-02 17:14:54 +0100 |
commit | a6f2b279d22894e81b23464620d03da6429d9ab5 (patch) | |
tree | 95c341e4304af40bcc2c22f010c858d41f8dfc58 /tools/perf/scripts/python/sched-migration.py | |
parent | bfe9225455c032c9dd5637047760cf59562e599f (diff) |
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 <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions