projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454459b
)
USB: cdc-acm tell tty layer not to split things up.
author
David Engraf
<david.engraf@netcom.eu>
Thu, 20 Mar 2008 09:53:52 +0000
(10:53 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 25 Apr 2008 04:16:44 +0000
(21:16 -0700)
It ensures that the tty level do not split
the send buffer into 2KB blocks.
Signed-off-by: David Engraf <david.engraf@netcom.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/class/cdc-acm.c
b/drivers/usb/class/cdc-acm.c
index 0147ea39340e25d38107507e31e615428f7841e4..1ded83b66af0979c0f869db5e3c29c82e664c6ff 100644
(file)
--- a/
drivers/usb/class/cdc-acm.c
+++ b/
drivers/usb/class/cdc-acm.c
@@
-489,6
+489,7
@@
static int acm_tty_open(struct tty_struct *tty, struct file *filp)
else
rv = 0;
+ set_bit(TTY_NO_WRITE_SPLIT, &tty->flags);
tty->driver_data = acm;
acm->tty = tty;