USB: tty: kill request_room for USB ACM class
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
67ccbd6f1a
Коммит
b6a2f10ca0
|
@ -428,7 +428,6 @@ next_buffer:
|
||||||
throttled = acm->throttle;
|
throttled = acm->throttle;
|
||||||
spin_unlock_irqrestore(&acm->throttle_lock, flags);
|
spin_unlock_irqrestore(&acm->throttle_lock, flags);
|
||||||
if (!throttled) {
|
if (!throttled) {
|
||||||
tty_buffer_request_room(tty, buf->size);
|
|
||||||
tty_insert_flip_string(tty, buf->base, buf->size);
|
tty_insert_flip_string(tty, buf->base, buf->size);
|
||||||
tty_flip_buffer_push(tty);
|
tty_flip_buffer_push(tty);
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче