Cc: Rafael J. Wysocki <rjw@...>, Nigel Cunningham <ncunningham@...>, pm list <linux-pm@...>, ACPI Devel Maling List <linux-acpi@...>, Greg KH <greg@...>, Len Brown <lenb@...>, LKML <linux-kernel@...>, Alexey Starikovskiy <astarikovskiy@...>, David Brownell <david-b@...>, Pavel Machek <pavel@...>, Benjamin Herrenschmidt <benh@...>
Basically yes. Subsystems and drivers are allowed to keep devices
suspended if they were suspended before the system went to sleep.
Remember, the purpose of the resume method is to let drivers know that
the system is now awake, not to force them to put their devices into a
high-power state.
But under these circumstances we don't want to return an error code,
since nothing really went wrong in the method. So the -EHOSTUNREACH
should be changed to 0.
Alan Stern
--