projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
969afff
)
USB: serial: Enable USB autosuspend by default on qcserial
author
Matthew Garrett
<mjg@redhat.com>
Thu, 16 Sep 2010 18:00:51 +0000
(14:00 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 22 Oct 2010 17:21:47 +0000
(10:21 -0700)
Seems to work fine in my testing.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/qcserial.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/qcserial.c
b/drivers/usb/serial/qcserial.c
index cde67cacb2c3e823773f49c922365473c9f4c82c..2846ad8883ae24fad5818a7bc0f7e68da1c0bf98 100644
(file)
--- a/
drivers/usb/serial/qcserial.c
+++ b/
drivers/usb/serial/qcserial.c
@@
-118,6
+118,8
@@
static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
spin_lock_init(&data->susp_lock);
+ usb_enable_autosuspend(serial->dev);
+
switch (nintf) {
case 1:
/* QDL mode */