aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2019-01-21 09:32:55 +0900
committerMark Brown <[email protected]>2019-01-21 18:13:47 +0000
commit22d1423187e5b4d9d5a9851f24466fc0f585a36f (patch)
treeab500ddcb673e329fd776911f978e95de88d3c75 /tools/perf/scripts/python
parent52293596f5afff10d14e033aa3edfc801a31b3a1 (diff)
ASoC: soc-core: add soc_cleanup_component()
We need to cleanup component when soc_probe_component() was failed, or when soc_remove_component() was called. But they are cleanuping component on each way. (And soc_probe_component() doesn't call snd_soc_dapm_free(), but it should). Same code in many places makes code un-understandable. This patch adds new soc_cleanup_component() and call it from snd_probe_component() and snd_remove_component(). Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions