aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-03 17:06:39 +0400
committerMark Brown <[email protected]>2022-06-06 12:38:27 +0100
commit3e2649c5e8643bea0867bb1dd970fedadb0eb7f3 (patch)
tree644485347f3799bee6be36f141630f021afe781b /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e (diff)
ASoC: samsung: Fix error handling in aries_audio_probe
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function is missing of_node_put(cpu) in the error path. Fix this by goto out label. of_node_put() will check NULL pointer. Fixes: 7a3a7671fa6c ("ASoC: samsung: Add driver for Aries boards") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions