[PATCH 1/3] memory: mtk-smi: fix device leaks on common probe
Krzysztof Kozlowski
krzk at kernel.org
Mon Dec 15 23:16:04 PST 2025
On 21/11/2025 17:46, Johan Hovold wrote:
> Make sure to drop the reference taken when looking up the SMI device
> during common probe on late probe failure (e.g. probe deferral) and on
> driver unbind.
>
> Fixes: 47404757702e ("memory: mtk-smi: Add device link for smi-sub-common")
> Fixes: 038ae37c510f ("memory: mtk-smi: add missing put_device() call in mtk_smi_device_link_common")
> Cc: stable at vger.kernel.org # 5.16: 038ae37c510f
> Cc: Yong Wu <yong.wu at mediatek.com>
> Cc: Miaoqian Lin <linmq006 at gmail.com>
> Signed-off-by: Johan Hovold <johan at kernel.org>
Thanks Johan.
Side note:
Three weeks and no reviews from Mediatek developers (not necessarily SoC
maintainers, I know your queue is long). So please remember Mediatek: in
case you ever wonder why your patches are waiting on the list for very
long, here is your answer.
Best regards,
Krzysztof
More information about the Linux-mediatek
mailing list