Commit fcf9e55e authored by Sarah Sharp's avatar Sarah Sharp Committed by Greg Kroah-Hartman

USB: pl2303: Add autosuspend support to pl2303 usb serial converter.

Signed-off-by: default avatarSarah Sharp <saharabeara@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3e152505
...@@ -99,7 +99,10 @@ static struct usb_driver pl2303_driver = { ...@@ -99,7 +99,10 @@ static struct usb_driver pl2303_driver = {
.probe = usb_serial_probe, .probe = usb_serial_probe,
.disconnect = usb_serial_disconnect, .disconnect = usb_serial_disconnect,
.id_table = id_table, .id_table = id_table,
.suspend = usb_serial_suspend,
.resume = usb_serial_resume,
.no_dynamic_id = 1, .no_dynamic_id = 1,
.supports_autosuspend = 1,
}; };
#define SET_LINE_REQUEST_TYPE 0x21 #define SET_LINE_REQUEST_TYPE 0x21
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment