Skip to content

Commit

Permalink
USB: serial: Enable USB autosuspend by default on qcserial
Browse files Browse the repository at this point in the history
Seems to work fine in my testing.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Matthew Garrett authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 969afff commit 1f8dd01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/serial/qcserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1f8dd01

Please sign in to comment.