diff options
author | 2019-09-27 15:05:30 -0500 | |
---|---|---|
committer | 2019-10-01 18:31:06 +0100 | |
commit | e66e52c5b7422824cedf0084c0766602dea7e8a7 (patch) | |
tree | d7f5ab4eee5f8a3364650eba36312a0aea2463a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: SOF: topology: fix parse fail issue for byte/bool tuple types (diff) | |
download | linux-dev-e66e52c5b7422824cedf0084c0766602dea7e8a7.tar.xz linux-dev-e66e52c5b7422824cedf0084c0766602dea7e8a7.zip |
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 <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927200538.660-6-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