diff options
author | Johan Hovold <johan@kernel.org> | 2025-07-22 11:25:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-01 09:51:27 +0100 |
commit | 4b6107578ebefbf918391744a4808a1a5bdad17f (patch) | |
tree | ca2c25075171e3c2a6f41fc439f0e9f890255587 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0f67015d72627bad72da3c2084352e0aa134416b (diff) |
ASoC: mediatek: common: fix device and OF node leak
commit 696e123aa36bf0bc72bda98df96dd8f379a6e854 upstream.
Make sure to drop the references to the accdet OF node and platform
device taken by of_parse_phandle() and of_find_device_by_node() after
looking up the sound component during probe.
Fixes: cf536e2622e2 ("ASoC: mediatek: common: Handle mediatek,accdet property")
Cc: stable@vger.kernel.org # 6.15
Cc: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20250722092542.32754-1-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions