WSL2-Linux-Kernel/sound/soc/intel
Dinghao Liu 062fa09f44
ASoC: intel: Fix memleak in sst_media_open
When power_up_sst() fails, stream needs to be freed
just like when try_module_get() fails. However, current
code is returning directly and ends up leaking memory.

Fixes: 0121327c1a ("ASoC: Intel: mfld-pcm: add control for powering up/down dsp")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813084112.26205-1-dinghao.liu@zju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-08-17 12:28:57 +01:00
..
atom ASoC: intel: Fix memleak in sst_media_open 2020-08-17 12:28:57 +01:00
baytrail ASoC: intel: use asoc_substream_to_rtd() 2020-07-27 14:00:23 +01:00
boards Merge series "ASoC: meson: tdm fixes" from Jerome Brunet <jbrunet@baylibre.com>: 2020-07-30 21:00:36 +01:00
common Merge series "ASoC: Intel: machine driver updates for 5.9" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2020-07-20 15:34:31 +01:00
haswell ASoC: intel: use asoc_substream_to_rtd() 2020-07-27 14:00:23 +01:00
keembay ASoC: Intel: KMB: Rework disable channel function 2020-07-30 20:13:41 +01:00
skylake ASoC: Intel: drop unnecessary list_empty 2020-07-30 22:38:39 +01:00
Kconfig ASoC: Intel: Add makefiles and kconfig changes for KeemBay 2020-06-15 19:45:35 +01:00
Makefile ASoC: Intel: Add makefiles and kconfig changes for KeemBay 2020-06-15 19:45:35 +01:00