mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 23:40:53 +07:00
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>
This commit is contained in:
parent
454459b02e
commit
28d1dfadd3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user