[PATCH 0/3] memory: mtk-smi: fix device leaks on probe
Johan Hovold
johan at kernel.org
Fri Nov 21 08:46:21 PST 2025
Make sure to drop the reference taken when looking up the SMI device
during probe on late probe failure (e.g. probe deferral) and on driver
unbind.
Included is also a related cleanup.
Johan
Johan Hovold (3):
memory: mtk-smi: fix device leaks on common probe
memory: mtk-smi: fix device leak on larb probe
memory: mtk-smi: clean up device link creation
drivers/memory/mtk-smi.c | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
--
2.51.2
More information about the Linux-mediatek
mailing list