diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-05-16 22:11:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-17 05:23:05 -0700 |
commit | 8d98a690f58e0d6ecf424b7ca84488475cf87bd9 (patch) | |
tree | 09adca50773f465b75fc04682377bfaa40c72876 /include/sound/hdspm.h | |
parent | 7925409e202a41176b729671eab6e610a54153cd (diff) |
swsusp: fix sysfs interface
The sysfs files /sys/power/disk and /sys/power/state do not work as
documented, since they allow the user to write only a few initial
characters of the input string to trigger the option (eg. 'echo pl >
/sys/power/disk' activates the platform mode of hibernation). Fix it.
Special thanks to Peter Moulder <Peter.Moulder@infotech.monash.edu.au> for
pointing out the problem.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/sound/hdspm.h')
0 files changed, 0 insertions, 0 deletions