diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-03-09 02:42:46 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-03-09 03:30:15 -0500 |
commit | 3e6e15a862a0bc20128497bbdc54254cdec21835 (patch) | |
tree | be4ff4f9f778e9489f1b129191d181a511753889 /drivers/input | |
parent | 58b939959d228681208ba997595411fddc860849 (diff) |
Input: enable remote wakeup for PNP i8042 keyboard ports
This patch (as1355) enables remote wakeup by default on PNP i8042
keyboard ports.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/serio/i8042-x86ia64io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 2a5982e532f8..3696cab40598 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h | |||
@@ -624,6 +624,9 @@ static int i8042_pnp_kbd_probe(struct pnp_dev *dev, const struct pnp_device_id * | |||
624 | strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), sizeof(i8042_pnp_kbd_name)); | 624 | strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), sizeof(i8042_pnp_kbd_name)); |
625 | } | 625 | } |
626 | 626 | ||
627 | /* Keyboard ports are always supposed to be wakeup-enabled */ | ||
628 | device_set_wakeup_enable(&dev->dev, true); | ||
629 | |||
627 | i8042_pnp_kbd_devices++; | 630 | i8042_pnp_kbd_devices++; |
628 | return 0; | 631 | return 0; |
629 | } | 632 | } |