1
0
Fork 0

USB: cdc-acm tell tty layer not to split things up.

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>
hifive-unleashed-5.1
David Engraf 2008-03-20 10:53:52 +01:00 committed by Greg Kroah-Hartman
parent 454459b02e
commit 28d1dfadd3
1 changed files with 1 additions and 0 deletions

View File

@ -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;