[PATCH 5/6] usb: mtu3: add missing pm_runtime_dont_use_autosuspend() calls

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Sep 15 02:10:21 PDT 2026


On 9/15/26 11:02, Joshua Crofts wrote:
> The comm_init_err label in mtu3_probe() and mtu3_remove() both call
> pm_runtime_disable() on error or device teardown, but don't call
> pm_runtime_dont_use_autosuspend(), causing resource leaks.
> 
> Add the missing pm_runtime_dont_use_autosuspend().
> 
> Found using Coccinelle.
> 
> Fixes: df2069acb005 ("usb: Add MediaTek USB3 DRD driver")
> Fixes: fa6f59e28c61 ("usb: mtu3: support runtime PM for host mode")
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Joshua Crofts <joshua.crofts1 at gmail.com>

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



More information about the linux-arm-kernel mailing list