linux/sound/soc/generic
Kuninori Morimoto 008fe4e538
ASoC: simple-card-utils: test memory allocation
li->conf will be 0 if it was not DPCM case.
Then, 1) we shouldn't call devm_kcalloc() with size 0,
2) we need NULL pointer check if li->conf was not 0.
This patch fixed above issues.
Special thanks to Pierre-Louis Bossart

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-21 14:58:01 +00:00
..
audio-graph-card.c ASoC: simple-card-utils: rename asoc_simple_card_xxx() to asoc_simple_() 2019-03-21 14:52:51 +00:00
Kconfig ASoC: simple-scu-card: remove simple-scu-card 2019-01-03 16:34:19 +00:00
Makefile ASoC: simple-scu-card: remove simple-scu-card 2019-01-03 16:34:19 +00:00
simple-card-utils.c ASoC: simple-card-utils: test memory allocation 2019-03-21 14:58:01 +00:00
simple-card.c ASoC: simple-card-utils: rename asoc_simple_card_xxx() to asoc_simple_() 2019-03-21 14:52:51 +00:00