Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_pars…
…e_dp() The function devm_kzalloc() in rt5663_parse_dp() can fail, so its return value should be checked. Fixes: 457c25e ("ASoC: rt5663: Add the function of impedance sensing") Reported-by: TOTE Robot <oslab@tsinghua.edu.cn> Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Link: https://lore.kernel.org/r/20220225131030.27248-1-baijiaju1990@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information