linux/sound/soc/intel
Dinghao Liu 503176f5dc ASoC: intel: Fix memleak in sst_media_open
[ Upstream commit 062fa09f44 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-26 10:41:03 +02:00
..
atom ASoC: intel: Fix memleak in sst_media_open 2020-08-26 10:41:03 +02:00
baytrail
boards ASoC: Intel: bxt_rt298: add missing .owner field 2020-08-19 08:16:08 +02:00
common
haswell
skylake ASoC: Intel: Skylake: Fix available clock counter incrementation 2020-03-12 13:00:26 +01:00
Kconfig ASoC: SOF: Intel: Broadwell: clarify mutual exclusion with legacy driver 2020-01-17 19:48:34 +01:00
Makefile