From: Rafael J. Wysocki Date: Tue, 10 Mar 2015 00:03:07 +0000 (-0700) Subject: Input: i8042 - allow KBD and AUX ports to wake up from suspend-to-idle X-Git-Tag: omap-for-v4.1/fixes-rc1~145^2^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f13b2065de8147a1652b830ea5db961cf80c09df;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed