Cc: Rafael J. Wysocki <rjw@...>, Greg KH <greg@...>, pm list <linux-pm@...>, ACPI Devel Maling List <linux-acpi@...>, Alan Stern <stern@...>, Len Brown <lenb@...>, LKML <linux-kernel@...>, Alexey Starikovskiy <astarikovskiy@...>, David Brownell <david-b@...>, Pavel Machek <pavel@...>, Nigel Cunningham <ncunningham@...>, Jesse Barnes <jbarnes@...>, Andrew Morton <akpm@...>
Am Montag, 14. April 2008 05:23:00 schrieb Benjamin Herrenschmidt:
Which is the problem. Suspension is supposed to be transparent.
We cannot start returning error codes for operations which never
failed in practice (eg. switching configurations in USB), just because
the system is about to be suspended.
If you want to request firmware in a PM callback, which makes a certain
sense, as we should move to a comprehensive API, if we change the API
at all, we need a model with 3 callbacks.
Regards
Oliver
--