From: Sarah Sharp Date: Fri, 14 Dec 2007 22:09:30 +0000 (-0800) Subject: USB: pl2303: Add autosuspend support to pl2303 usb serial converter. X-Git-Tag: v2.6.25-rc1~1075^2~67 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf9e55e066d12c18add7c8a292bf879b45b1d55;p=linux-2.6 USB: pl2303: Add autosuspend support to pl2303 usb serial converter. Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index c27f2f822f..ac3d8765f4 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c @@ -99,7 +99,10 @@ static struct usb_driver pl2303_driver = { .probe = usb_serial_probe, .disconnect = usb_serial_disconnect, .id_table = id_table, + .suspend = usb_serial_suspend, + .resume = usb_serial_resume, .no_dynamic_id = 1, + .supports_autosuspend = 1, }; #define SET_LINE_REQUEST_TYPE 0x21