Re: [PATCH 1/3] memory: mtk-smi: fix device leaks on common probe

Krzysztof Kozlowski
2025-12-16T07:16:08Z

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@vger.kernel.org # 5.16: 038ae37c510f
> Cc: Yong Wu <yong.wu@mediatek.com>
> Cc: Miaoqian Lin <linmq006@gmail.com>
> Signed-off-by: Johan Hovold <johan@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