It is unsafe to suspend devices if the hardware is controlled by X. Add an extra check to prevent this from happening. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
|---|---|---|
| .. | ||
| main.c | ||
| Makefile | ||
| power.h | ||
| resume.c | ||
| runtime.c | ||
| shutdown.c | ||
| suspend.c | ||
| sysfs.c | ||