projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e15250
)
USB: pl2303: Add autosuspend support to pl2303 usb serial converter.
author
Sarah Sharp
<saharabeara@gmail.com>
Fri, 14 Dec 2007 22:09:30 +0000
(14:09 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Feb 2008 22:34:56 +0000
(14:34 -0800)
Signed-off-by: Sarah Sharp <saharabeara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/pl2303.c
b/drivers/usb/serial/pl2303.c
index
c27f2f8
..
ac3d876
100644
(file)
--- 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