diff options
author | Rafael J. Wysocki <rjw@rjwysocki.net> | 2015-03-09 17:03:07 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-09 17:05:31 -0700 |
commit | f13b2065de8147a1652b830ea5db961cf80c09df (patch) | |
tree | b54de849a839be23fee08b11515786a14f50ce42 /net/ipv6 | |
parent | 91c68a7c1d92b48287f2f3111a9b09b26a263d3f (diff) |
Input: i8042 - allow KBD and AUX ports to wake up from suspend-to-idle
While registering serio device for i8042, mark them as wakeup-capable
and check their user space wakeup settings in i8042_pm_suspend() and
i8042_pm_resume() to enable or disable, respectively, their interrupts
to wake up the system.
This makes it possible to use the PC keyboard to wake up the system
from suspend-to-idle, among other things, after writing "enabled" to
the keyboard serio device's power/wakeup sysfs attribute.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions