summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-03-08 23:42:46 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-03-09 00:30:15 -0800
commit3e6e15a862a0bc20128497bbdc54254cdec21835 (patch)
treebe4ff4f9f778e9489f1b129191d181a511753889 /drivers/input/serio
parent58b939959d228681208ba997595411fddc860849 (diff)
downloadop-kernel-dev-3e6e15a862a0bc20128497bbdc54254cdec21835.zip
op-kernel-dev-3e6e15a862a0bc20128497bbdc54254cdec21835.tar.gz
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 2a5982e..3696cab 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;
}
OpenPOWER on IntegriCloud