summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 16:48:53 +0000
committerMark Brown <broonie@kernel.org>2026-09-28 14:12:52 +0100
commit082723fee626532f176727b6438b666a96d5246c (patch)
tree3bcf3c5127228e690eac6212393056164447de6b /tools/perf/scripts/python/bin/stackcollapse-report
parenta6e3975afc97fc766bf943997b78026e8ed9fd6b (diff)
ASoC: codecs: wcd9335: Fix SLIM interface device leak in wcd9335_slim_status()
of_slim_get_device() returns a device with an elevated reference count, and wcd->slim_ifc_dev is intentionally kept for the codec lifetime on success. However, all the failure paths of wcd9335_slim_status() return without dropping that reference, leaking the SLIM interface device whenever the register maps cannot be created or the codec fails to come up. Put the device on each of those error paths. Fixes: 20aedafdf492 ("ASoC: wcd9335: add support to wcd9335 codec") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20260917164853.2163184-1-vulab@iscas.ac.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions