Skip to content
Verified Commit 68715cb5 authored by Chenyuan Yang's avatar Chenyuan Yang Committed by Mark Brown
Browse files

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: default avatarChenyuan Yang <chenyuan0y@gmail.com>
Fixes: bee2fe44 ("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: default avatarMark Brown <broonie@kernel.org>
parent 63ec4baf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment