diff options
| author | WenTao Liang <vulab@iscas.ac.cn> | 2026-06-27 11:52:51 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-01 17:41:27 +0100 |
| commit | fb5d1b1c5f8a920ee697545fa6dee16825085717 (patch) | |
| tree | 661673fd3ab2077bb66711975eb3dd100ce0f450 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e487b00d7074623fe54d67f909a5fd6fa7b3a153 (diff) | |
ASoC: samsung: aries_audio_probe: double of_node_put due to direct assignment without of_node_get
In aries_audio_probe(), aries_dai[0].platforms->of_node is assigned the
same pointer as aries_dai[0].cpus->of_node (from of_parse_phandle)
without calling of_node_get(). When the sound card is deregistered, the
ASoC framework calls of_node_put() on both cpus->of_node and
platforms->of_node, causing a double put on the same node and a refcount
underflow.
Add of_node_get(aries_dai[0].cpus->of_node) before the assignment.
Cc: stable@vger.kernel.org
Fixes: 7a3a7671fa6c ("ASoC: samsung: Add driver for Aries boards")
Signed-off-by: WenTao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260627035251.60172-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
