diff options
author | Zichen Xie <[email protected]> | 2024-10-06 15:57:37 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-07 15:35:34 +0100 |
commit | 49da1463c9e3d2082276c3e0e2a8b65a88711cd2 (patch) | |
tree | 40d0c40077a63659278fe0c3d232e8ebda70d97e /tools/perf/scripts/python/task-analyzer.py | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) |
ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()
A devm_kzalloc() in asoc_qcom_lpass_cpu_platform_probe() could
possibly return NULL pointer. NULL Pointer Dereference may be
triggerred without addtional check.
Add a NULL check for the returned pointer.
Fixes: b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers")
Cc: [email protected]
Signed-off-by: Zichen Xie <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions