The F81232 can do remote wakeup via RX/RI pin with pulse. This patch will use device_set_wakeup_enable to enable this feature. Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@xxxxxxxxx> --- drivers/usb/serial/f81232.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index bdd7f337cd5f..dadf024ae494 100644 --- a/drivers/usb/serial/f81232.c +++ b/drivers/usb/serial/f81232.c @@ -742,6 +742,7 @@ static int f81232_port_probe(struct usb_serial_port *port) port->port.drain_delay = 256; priv->port = port; + device_set_wakeup_enable(&port->serial->dev->dev, true); return 0; } @@ -752,6 +753,7 @@ static int f81232_port_remove(struct usb_serial_port *port) priv = usb_get_serial_port_data(port); kfree(priv); + device_set_wakeup_enable(&port->serial->dev->dev, false); return 0; } -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html