diff options
author | Kai Vehmanen <[email protected]> | 2019-09-27 15:05:30 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-10-01 18:31:06 +0100 |
commit | e66e52c5b7422824cedf0084c0766602dea7e8a7 (patch) | |
tree | d7f5ab4eee5f8a3364650eba36312a0aea2463a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2e305a074061121220a2828f97a57d315cf8efba (diff) |
ASoC: SOF: pcm: fix resource leak in hw_free
Fix a bug in sof_pcm_hw_free() where some cleanup actions were
skipped if STREAM_PCM_FREE IPC was already successfully sent to
DSP when the stream was stopped or suspended. This is incorrect
as hw_free should clean up also other resources, including pcm
lib page allocations, period elapsed work queue and call to
platform hw_free.
Fixes: c29d96c3b9b4 ("ASoC: SOF: reset DMA state in prepare")
Signed-off-by: Kai Vehmanen <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions