summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChancel Liu <chancel.liu@nxp.com>2026-09-23 15:13:03 +0900
committerMark Brown <broonie@kernel.org>2026-09-23 14:23:02 +0200
commit48f1dfbfe4e5f314ddc3e7cbe13f0bb60a1b4f7f (patch)
tree79171f05c6584f1c5b1b12c215c5cc9d75501192 /tools/perf/scripts/python/task-analyzer.py
parent57d1e55c7b5a66a8642e3c944d46e3d3bafb28c8 (diff)
ASoC: codecs: rt1011: Free the bq/drc coefficient arrays on component remove
component->dev is the underlying i2c device whose devres is only released on physical device removal, not on ASoC card unbind. The bq_drc_params arrays allocated in the component probe with devm_kcalloc(component->dev, ...) therefore leak on every card bind/unbind cycle. Allocate the arrays with kcalloc() and free them in the component remove callback. Signed-off-by: Chancel Liu <chancel.liu@nxp.com> Link: https://patch.msgid.link/20260923061305.4041197-20-chancel.liu@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions