diff options
author | Johan Hovold <johan@kernel.org> | 2025-09-09 11:56:50 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2025-09-10 11:48:56 +0200 |
commit | 6ab4f79ea92324f7f2eb22692054a34bbba7cf35 (patch) | |
tree | 7f4de20a9a59120798dead7153da9e2e07265fb8 /rust/helpers/rcu.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
soc: mediatek: mtk-svs: fix device leaks on mt8183 probe failure
Make sure to drop the references taken by of_find_device_by_node() when
looking up the thermal sensor and opp devices during probe on probe
failure (e.g. probe deferral) and on driver unbind.
Fixes: 681a02e95000 ("soc: mediatek: SVS: introduce MTK SVS engine")
Cc: Roger Lu <roger.lu@mediatek.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250909095651.5530-2-johan@kernel.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions