PM / Runtime: Asyncronous idle|suspend devices at system resume
[firefly-linux-kernel-4.4.55.git] / drivers / base / power / generic_ops.c
index d03d290f31c25b773da06c111b8cd1440f974c51..bfd898b8988e37ca0dcc985fc28c57fdcde27fa0 100644 (file)
@@ -324,6 +324,6 @@ void pm_generic_complete(struct device *dev)
         * Let runtime PM try to suspend devices that haven't been in use before
         * going into the system-wide sleep state we're resuming from.
         */
-       pm_runtime_idle(dev);
+       pm_request_idle(dev);
 }
 #endif /* CONFIG_PM_SLEEP */