@@ -480,7 +480,7 @@ static void acm_process_read_urb(struct acm *acm, struct urb *urb)
tty_insert_flip_string(&acm->port, urb->transfer_buffer,
urb->actual_length);
- tty_flip_buffer_push(&acm->port);
+ tty_schedule_flip(&acm->port);
}
static void acm_read_bulk_callback(struct urb *urb)
@@ -426,7 +426,7 @@ static void gs_rx_push(struct work_struct *work)
* so we won't get callbacks and can hold port_lock
*/
if (do_push)
- tty_flip_buffer_push(&port->port);
+ tty_schedule_flip(&port->port);
/* We want our data queue to become empty ASAP, keeping data
@@ -344,7 +344,7 @@ static void dbc_rx_push(struct tasklet_struct *t)
}
if (do_push)
- tty_flip_buffer_push(&port->port);
+ tty_schedule_flip(&port->port);
if (!list_empty(queue) && tty) {
if (!tty_throttled(tty)) {
Since commit a9c3f68f3cd8d (tty: Fix low_latency BUG) in 2014, tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). We are going to remove the former, so call the latter directly in the rest of drivers/usb/. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Oliver Neukum <oneukum@suse.com> Cc: Felipe Balbi <balbi@kernel.org> Cc: Mathias Nyman <mathias.nyman@intel.com> Cc: linux-usb@vger.kernel.org --- drivers/usb/class/cdc-acm.c | 2 +- drivers/usb/gadget/function/u_serial.c | 2 +- drivers/usb/host/xhci-dbgtty.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)