Re: [PATCH 5/6] usb: mtu3: add missing pm_runtime_dont_use_autosuspend() calls
From: AngeloGioacchino Del Regno
Date: Tue Sep 15 2026 - 05:37:24 EST
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@xxxxxxxxxxxxxxx>
Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>