summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.h
diff options
context:
space:
mode:
authorSteve Lin <stlin@nvidia.com>2011-11-28 14:30:42 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:27 -0800
commitc206ede61b50e88f5fec1862cd83243c482f0a60 (patch)
treee17e1a45df5c49e97f8c53523616df41dbd17a65 /drivers/usb/class/cdc-acm.h
parenta8f355002ab5ede378f7c3b755ff85f4b8d451f9 (diff)
usb: cdc-acm: remove tty_hangup in acm_reset_resume
Do not call tty_hangup in acm_reset_resume for certain modems. Bug 889308 Reviewed-on: http://git-master/r/59177 (cherry picked from commit d57d67f6f563aa8f6c21c544f02cac3002103d21) Change-Id: If10a09fdbb130e5734dba54b0e98c6cc6959c5d3 Reviewed-on: http://git-master/r/66987 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R4e6d948d1e5f05ec2aaaba8560f0bbdae9ea87df
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
-rw-r--r--drivers/usb/class/cdc-acm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index 64365cc0e646..7d6a4e29563d 100644
--- a/drivers/usb/class/cdc-acm.h
+++ b/drivers/usb/class/cdc-acm.h
@@ -115,6 +115,7 @@ struct acm {
unsigned int is_int_ep:1; /* interrupt endpoints contrary to spec used */
unsigned int throttled:1; /* actually throttled */
unsigned int throttle_req:1; /* throttle requested */
+ unsigned int no_hangup_in_reset_resume:1; /* do not call tty_hangup in acm_reset_resume */
u8 bInterval;
struct acm_wb *delayed_wb; /* write queued for a device about to be woken */
};
@@ -128,3 +129,4 @@ struct acm {
#define NOT_A_MODEM 8
#define NO_DATA_INTERFACE 16
#define NOT_REAL_ACM 32
+#define NO_HANGUP_IN_RESET_RESUME 64