提交 3e6e15a8 编写于 作者: A Alan Stern 提交者: 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: NAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册