linux/sound/soc/sprd
Christophe JAILLET 1b08e7697f
ASoC: sprd: Simplify memory allocation in sprd_platform_compr_dma_config()
'sg' is freed at the end sprd_platform_compr_dma_config() both in the
normal and in the error handling path.

There is no need to use the devm_kcalloc()/devm_kfree(), kcalloc()/kfree()
is enough.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://msgid.link/r/d16f22ae0627249a9fc658927832590cd88c544e.1702960856.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-12-19 14:02:50 +00:00
..
Kconfig ASoC: sprd: Allow the MCDT driver to build into modules 2020-03-05 13:15:17 +00:00
Makefile ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
sprd-mcdt.c ASoC: sprd: sprd-mcdt: Convert to platform remove callback returning void 2023-03-20 13:09:02 +00:00
sprd-mcdt.h ASoC: sprd: Allow the MCDT driver to build into modules 2020-03-05 13:15:17 +00:00
sprd-pcm-compress.c ASoC: sprd: Simplify memory allocation in sprd_platform_compr_dma_config() 2023-12-19 14:02:50 +00:00
sprd-pcm-dma.c ASoC: sprd: convert not to use asoc_xxx() 2023-09-25 14:16:26 +02:00
sprd-pcm-dma.h ASoC: sprd: use snd_compress_ops 2020-04-21 19:01:59 +01:00