Skip to content

Commit

Permalink
Input: enable remote wakeup for PNP i8042 keyboard ports
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Stern authored and Dmitry Torokhov committed Mar 9, 2010
1 parent 58b9399 commit 3e6e15a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/input/serio/i8042-x86ia64io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3e6e15a

Please sign in to comment.