USB: serial: Enable USB autosuspend by default on qcserial
Seems to work fine in my testing. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
969affff54
commit
1f8dd0154e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue