Commit 3e6e15a8 authored by Alan Stern's avatar Alan Stern Committed by Dmitry Torokhov

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: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 58b93995
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment