summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 14:30:52 +0000
committerMark Brown <broonie@kernel.org>2026-09-25 00:23:20 +0100
commitb9205f0837ca91a0bbe6aa9002207656840c1406 (patch)
tree45b42949439a01bda6b29ddd1824931a6d521296 /tools/perf/scripts/python/bin
parent05a3330f490cfa266831c0fc7f8c6df942866d59 (diff)
regulator: core: Fix coupled regulators reference leak on removal
of_parse_coupled_regulator() returns the coupled regulator with its device reference incremented and regulator_resolve_coupling() stores it in coupling_desc.coupled_rdevs[]. regulator_remove_coupling() clears those pointers without dropping the references, so they are leaked when the couple is torn down. Release the reference of each coupled regulator while removing the coupling. Fixes: d3d64537c339 ("regulator: core: Resolve coupled regulators") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20260917143052.2156903-1-vulab@iscas.ac.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions