Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: acp: check the return value of devm_kzalloc() in acp_legacy_dai…
…_links_create() The function devm_kzalloc() in acp_legacy_dai_links_create() can fail, so its return value should be checked. Fixes: d4c750f ("ASoC: amd: acp: Add generic machine driver support for ACP cards") Reported-by: TOTE Robot <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
- Loading branch information