USB: qcserial: don't enable autosuspend
authorThomas Tuttle <ttuttle@chromium.org>
Wed, 1 Feb 2012 21:07:45 +0000 (16:07 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2012 23:56:18 +0000 (15:56 -0800)
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>
drivers/usb/serial/qcserial.c

index 26e3e30..f98800f 100644 (file)
@@ -137,8 +137,6 @@ 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 */