diff options
author | Sarah Sharp <saharabeara@gmail.com> | 2007-12-14 14:09:30 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 14:34:56 -0800 |
commit | fcf9e55e066d12c18add7c8a292bf879b45b1d55 (patch) | |
tree | 9f0ce8602dedb0e35660908b3819f205de8e9627 /drivers/usb/serial/pl2303.c | |
parent | 3e152505a57db6622deb1322c22551c046e33d16 (diff) | |
download | lwn-fcf9e55e066d12c18add7c8a292bf879b45b1d55.tar.gz lwn-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.c | 3 |
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 |