summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/pl2303.c
diff options
context:
space:
mode:
authorSarah Sharp <saharabeara@gmail.com>2007-12-14 23:09:30 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 23:34:56 +0100
commitfcf9e55e066d12c18add7c8a292bf879b45b1d55 (patch)
tree9f0ce8602dedb0e35660908b3819f205de8e9627 /drivers/usb/serial/pl2303.c
parentUSB: pl2303: Move pl2303 vendor specific init to probe function. (diff)
downloadlinux-fcf9e55e066d12c18add7c8a292bf879b45b1d55.tar.xz
linux-fcf9e55e066d12c18add7c8a292bf879b45b1d55.zip
USB: pl2303: Add autosuspend support to pl2303 usb serial converter.
Signed-off-by: Sarah Sharp <saharabeara@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r--drivers/usb/serial/pl2303.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index c27f2f822f13..ac3d8765f482 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