Re: [PATCH 1/2] soc: mediatek: mtk-svs: fix device leaks on mt8183 probe failure

From: AngeloGioacchino Del Regno
Date: Tue Sep 09 2025 - 07:02:07 EST


Il 09/09/25 11:56, Johan Hovold ha scritto:
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@xxxxxxxxxxxx>
Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>