aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2023-03-24 09:43:58 +0800
committerMark Brown <[email protected]>2023-03-29 15:03:01 +0100
commit658d6f7381b1be5a6fec7d90c865fb593b8c78b6 (patch)
tree83e07b3271877ae5b98bae98f082bd96b4285ff2 /tools/perf/scripts/python/bin/stackcollapse-report
parentf3def177876450df07fab6f28ad24a70397dc94d (diff)
ASoC: codecs: max98373-sdw: simplify set_stream
Using a dynamic allocation to store a single pointer is not very efficient/useful. Worse, the memory is released in the SoundWire stream.c file, but still accessed in the DAI shutdown, leading to kmemleak reports. And last the API requires the previous stream information to be cleared when the argument is NULL. Simplify the code to address all 3 problems. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions