提交 1f8dd015 编写于 作者: M Matthew Garrett 提交者: Greg Kroah-Hartman

USB: serial: Enable USB autosuspend by default on qcserial

Seems to work fine in my testing.
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 969affff
...@@ -118,6 +118,8 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) ...@@ -118,6 +118,8 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
spin_lock_init(&data->susp_lock); spin_lock_init(&data->susp_lock);
usb_enable_autosuspend(serial->dev);
switch (nintf) { switch (nintf) {
case 1: case 1:
/* QDL mode */ /* QDL mode */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册