diff options
author | Richard Fitzgerald <[email protected]> | 2022-04-04 12:32:52 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-06 15:50:04 +0100 |
commit | 51a630a7051f7f4f1cfdd64c20c7110f9907c230 (patch) | |
tree | 09c18113d7e165774b3abab5eb18c7456d351d37 /lib/mpi/mpi-sub-ui.c | |
parent | 89bac792faf03fae5a9564bebfaacab53a029932 (diff) |
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 <[email protected]>
Fixes: 1e974e5b82b3 ("ASoC: audio_graph_card2: Add support for variable slot widths")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions