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

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Sep 9 04:01:24 PDT 2025


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 at mediatek.com>
> Signed-off-by: Johan Hovold <johan at kernel.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list