diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-03-09 08:42:46 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-03-09 09:30:15 +0100 |
commit | 3e6e15a862a0bc20128497bbdc54254cdec21835 (patch) | |
tree | be4ff4f9f778e9489f1b129191d181a511753889 /drivers/input/serio | |
parent | Input: scancode in get/set_keycodes should be unsigned (diff) | |
download | linux-3e6e15a862a0bc20128497bbdc54254cdec21835.tar.xz linux-3e6e15a862a0bc20128497bbdc54254cdec21835.zip |
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/serio')
-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 * strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), sizeof(i8042_pnp_kbd_name)); } + /* Keyboard ports are always supposed to be wakeup-enabled */ + device_set_wakeup_enable(&dev->dev, true); + i8042_pnp_kbd_devices++; return 0; } |