From fcf9e55e066d12c18add7c8a292bf879b45b1d55 Mon Sep 17 00:00:00 2001 From: Sarah Sharp Date: Fri, 14 Dec 2007 14:09:30 -0800 Subject: USB: pl2303: Add autosuspend support to pl2303 usb serial converter. Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/pl2303.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index c27f2f822f1..ac3d8765f48 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 -- cgit v1.2.3