[PATCH 3/3] usb: dwc3: remove redundant pm_runtime_dont_use_autosuspend() calls

From: Joshua Crofts

Date: Fri Nov 06 2026 - 08:40:33 EST


Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function calls.

Signed-off-by: Joshua Crofts <crofts@xxxxxxxxxx>
---
drivers/usb/dwc3/core.c | 2 --
drivers/usb/dwc3/dwc3-am62.c | 1 -
2 files changed, 3 deletions(-)

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index fd5c2cd36c59..c4f0aa962747 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -2431,7 +2431,6 @@ int dwc3_core_probe(const struct dwc3_probe_data *data)
err_allow_rpm:
pm_runtime_allow(dev);
pm_runtime_disable(dev);
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_set_suspended(dev);
pm_runtime_put_noidle(dev);
err_disable_clks:
@@ -2486,7 +2485,6 @@ void dwc3_core_remove(struct dwc3 *dwc)

pm_runtime_allow(dwc->dev);
pm_runtime_disable(dwc->dev);
- pm_runtime_dont_use_autosuspend(dwc->dev);
pm_runtime_put_noidle(dwc->dev);
/*
* HACK: Clear the driver data, which is currently accessed by parent
diff --git a/drivers/usb/dwc3/dwc3-am62.c b/drivers/usb/dwc3/dwc3-am62.c
index d03b3950ce04..0df7e436aeb0 100644
--- a/drivers/usb/dwc3/dwc3-am62.c
+++ b/drivers/usb/dwc3/dwc3-am62.c
@@ -322,7 +322,6 @@ static void dwc3_ti_remove(struct platform_device *pdev)

pm_runtime_put_sync(dev);
pm_runtime_disable(dev);
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_set_suspended(dev);
}

--
2.47.3