[PATCH 2/2] soc: mediatek: mtk-svs: fix device leaks on mt8192 probe failure
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Sep 9 04:01:22 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: 0bbb09b2af9d ("soc: mediatek: SVS: add mt8192 SVS GPU driver")
> 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