diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c index b746904185045a9092865030006f28350c9a9916..09e4eb1a72862162323786f2fc3556331b4a7f8a 100644 --- a/drivers/base/power/runtime.c +++ b/drivers/base/power/runtime.c @@ -1506,6 +1506,9 @@ int pm_runtime_force_resume(struct device *dev) goto out; } + if (!pm_runtime_status_suspended(dev)) + goto out; + ret = pm_runtime_set_active(dev); if (ret) goto out;