USB: qcserial: don't enable autosuspend
We've found that qcserial devices will not always wake up reliably from autosuspend, so disable it. Signed-off-by: Thomas Tuttle <ttuttle@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2db4d87070
commit
0a365706f2
@@ -137,8 +137,6 @@ 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 */
|
||||||
|
Reference in New Issue
Block a user