linux/sound/soc/generic
Richard Fitzgerald 51a630a705
ASoC: simple-card-utils: Avoid NULL deref in asoc_simple_set_tdm()
Don't dereference simple_dai before it has been checked for NULL.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 1e974e5b82 ("ASoC: audio_graph_card2: Add support for variable slot widths")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220404113252.1152659-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-06 15:50:04 +01:00
..
audio-graph-card2-custom-sample.c ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
audio-graph-card2-custom-sample.dtsi ASoC: audio-graph-card2-custom-sample.dtsi: add Codec2Codec sample (Multi) 2021-10-15 16:10:49 +01:00
audio-graph-card2.c ASoC: audio_graph_card2: Add support for variable slot widths 2022-03-07 13:12:58 +00:00
audio-graph-card.c ASoC: generic: Use dev_err_probe() helper 2021-12-20 12:47:15 +00:00
Kconfig ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
Makefile ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
simple-card-utils.c ASoC: simple-card-utils: Avoid NULL deref in asoc_simple_set_tdm() 2022-04-06 15:50:04 +01:00
simple-card.c ASoC: simple-card: fix probe failure on platform component 2022-01-11 13:45:28 +00:00
test-component.c ASoC: test-component: fix null pointer dereference. 2021-12-09 12:31:50 +00:00