diff mbox

INPUT: enable remote wakeup for PNP i8042 keyboard ports

Message ID Pine.LNX.4.44L0.1003081651220.1297-100000@iolanthe.rowland.org (mailing list archive)
State Accepted
Commit 3e6e15a862a0bc20128497bbdc54254cdec21835
Headers show

Commit Message

Alan Stern March 8, 2010, 9:52 p.m. UTC
None
diff mbox

Patch

Index: usb-2.6/drivers/input/serio/i8042-x86ia64io.h
===================================================================
--- usb-2.6.orig/drivers/input/serio/i8042-x86ia64io.h
+++ usb-2.6/drivers/input/serio/i8042-x86ia64io.h
@@ -624,6 +624,9 @@  static int i8042_pnp_kbd_probe(struct pn
 		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;
 }