diff options
author | Amadeusz Sławiński <[email protected]> | 2022-01-12 18:00:30 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-01-24 13:31:23 +0000 |
commit | cc44c7492bad811dcb89f3f33f5aaacb564e1dfc (patch) | |
tree | 7fa3554d2db731ebb5b7d80d9a895a7a8903cb61 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | feb00b736af64875560f371fe7f58b0b7f239046 (diff) |
ASoC: topology: Optimize soc_tplg_dapm_graph_elems_load behavior
Before commit "ASoC: topology: Change allocations to resource managed"
soc_tplg_dapm_graph_elems_load() used to free routes on error. During
migration to managed allocations the routes table was left as is, but
looking at it again it is unnecessary, so remove routes table and just
keep pointer to DAPM route currently being set up. Also remove outdated
comments which keep describing old behavior of remove_route() freeing
memory. While it still does some cleanup, it leaves freeing memory to
framework.
Fixes: ff9226224437 ("ASoC: topology: Change allocations to resource managed")
Signed-off-by: Amadeusz Sławiński <[email protected]>
Reviewed-by: Cezary Rojewski <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions