diff options
author | Chenyuan Yang <chenyuan0y@gmail.com> | 2025-04-15 14:41:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-16 13:55:55 +0100 |
commit | 68715cb5c0e00284d93f976c6368809f64131b0b (patch) | |
tree | 94ef052bb4c9b8c9f363235a546ab89701c998f4 /scripts/generate_rust_analyzer.py | |
parent | 63ec4baf725cbde506f0a9640ae6751622b81b0a (diff) |
ASoC: Intel: sof_sdw: Add NULL check in asoc_sdw_rt_dmic_rtd_init()
mic_name returned by devm_kasprintf() could be NULL.
Add a check for it.
Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com>
Fixes: bee2fe44679f ("ASoC: Intel: sof_sdw: use generic rtd_init function for Realtek SDW DMICs")
Link: https://patch.msgid.link/20250415194134.292830-1-chenyuan0y@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions