diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-10-10 16:30:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:55:34 -0700 |
commit | 271f9e68f3450ac8d1ff3bda36581f1ec0d0cc1f (patch) | |
tree | 245f6895f988086686fe338b0097fe9b99f1c9f9 /lib/hweight.c | |
parent | 32fe01985aa2cb2562f6fc171e526e279abe10db (diff) |
USB: skip autosuspended devices during system resume
System suspends and hibernation are supposed to be as transparent as
possible. By this reasoning, if a USB device is already autosuspended
before the system sleep begins then it should remain autosuspended
after the system wakes up.
This patch (as1001) adds a skip_sys_resume flag to the usb_device
structure and uses it to avoid waking up devices which were suspended
when a system sleep began.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions