linux/sound/soc/zte
Axel Lin 534dcd7ea6 ASoC: zx296702-i2s: Fix resource leak when unload module
Use devm_* API to fix leaks in current code.
1. Use devm_kzalloc to fix memory leak for zx_i2s when unload the module.
2. Use devm_snd_soc_register_component to ensure component is unregistered
   when unload the module.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-08-30 15:47:54 +01:00
..
Kconfig
Makefile
zx296702-i2s.c ASoC: zx296702-i2s: Fix resource leak when unload module 2015-08-30 15:47:54 +01:00
zx296702-spdif.c ASoC: zte: Fix missing dev in devm operation 2015-06-04 17:11:18 +01:00