diff options
| author | Cássio Gabriel <cassiogabrielcontato@gmail.com> | 2026-06-08 10:39:11 -0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-12 16:12:09 +0100 |
| commit | 22aed576add03c2f8083c1122087fbe4d18e4bf4 (patch) | |
| tree | 87095ac7685534c2e9448ef096303766576784e8 /include/linux | |
| parent | 4549871118cf616eecdd2d939f78e3b9e1dddc48 (diff) | |
ASoC: qcom: common: use scoped OF node handling
qcom_snd_parse_of() manually drops the link child node and the
cpu/platform/codec child nodes on error paths and at the end of each
iteration.
Use for_each_available_child_of_node_scoped() for the link node and
__free(device_node) for the named child nodes. This keeps the existing
ownership rules for DAI component phandle references, while removing the
manual cleanup labels from a path that has previously needed OF refcount
fixes.
Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Link: https://patch.msgid.link/20260608-asoc-of-node-scoped-cleanup-v1-1-9e3ac518dc2e@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
