summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorjempty.liang <imntjempty@163.com>2025-11-19 10:11:16 +0000
committerMark Brown <broonie@kernel.org>2025-11-19 11:29:49 +0000
commite2c48498a93404743e0565dcac29450fec02e6a3 (patch)
tree13cdcc3dde7b3b05563624ccf5c626fbe2921252 /tools/lib/python/kdoc/parse_data_structs.py
parent683c03b95c2ae95ff05ebf0dcc040bf3db633135 (diff)
ASoC: soc-core: Pre-check zero CPU/codec DAIs, handle early rtd->dais alloc failure
This commit adds a pre-check in ASoC to ensure there are non-zero CPU or codec DAIs. It also handles early failure of memory allocation for rtd->dais by going to the cleanup path, preventing potential issues from invalid configurations or out-of-memory situations. Signed-off-by: jempty.liang <imntjempty@163.com> Link: https://patch.msgid.link/20251119101116.78676-1-imntjempty@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions