diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2019-09-27 15:05:30 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-01 18:31:06 +0100 |
commit | e66e52c5b7422824cedf0084c0766602dea7e8a7 (patch) | |
tree | d7f5ab4eee5f8a3364650eba36312a0aea2463a4 /tools/bpf/bpf_jit_disasm.c | |
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 <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/bpf/bpf_jit_disasm.c')
0 files changed, 0 insertions, 0 deletions