diff options
author | David Brownell <david-b@pacbell.net> | 2005-09-13 19:57:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 16:47:38 -0700 |
commit | c9f89fa40cf274130b56475175a35af961d4b165 (patch) | |
tree | 9d02038c4e5589a2b13df98da647a59d46b69567 /drivers/char/rio/list.h | |
parent | db69087437dd5135a9362da1c37fe072070e8f60 (diff) |
[PATCH] remove suspend-path recursion
This patch removes some recursion in the CONFIG_USB_SUSPEND logic, which
suspended children (of devices or hubs) that weren't already suspended.
When it sees such cases, suspend now just fails cleanly.
That logic was not needed during system-wide sleep state transitions; and
given the current notions of how to manage selective suspend transitions,
we don't want it there either. Where it was particularly handy was coping
with various limitations of the sysfs "echo -n N > power/state" support.
(These include assuming that "N" is always meaningful to the driver; and
that drivers can only transition to state N from state zero.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/rio/list.h')
0 files changed, 0 insertions, 0 deletions