diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-10-17 18:28:10 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-10-24 17:50:46 -0700 |
commit | 093905977310db0727f9ddfaf6166936e44adc17 (patch) | |
tree | 0de75e7e7f59d682c435187a178052d6c473df76 /drivers/usb/class | |
parent | 064ce21ea0fc43153ac99ec865bc3cca972098e8 (diff) |
usb: cdc-acm: enable need_remote_wakeup by default
This was disabled in a previous commit as it was thought that the
flag prevented autosuspend from working. However autosuspend will
succeed as long as the modem enumerates with the Remote Wakeup bit
set in the bmAttributes field of the Configuration descriptor.
Bug 1058567
Change-Id: I79b35f8edec4511da19bcc3f761d666d388c655d
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/147062
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
Diffstat (limited to 'drivers/usb/class')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 60188df7c56a..4e33418faa52 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -573,7 +573,7 @@ static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) * memory is really nasty... */ set_bit(TTY_NO_WRITE_SPLIT, &tty->flags); - acm->control->needs_remote_wakeup = 0; + acm->control->needs_remote_wakeup = 1; if (acm_submit_read_urbs(acm, GFP_KERNEL)) goto error_submit_urb; |