aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/spcp8x5.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/spcp8x5.c')
-rw-r--r--drivers/usb/serial/spcp8x5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c
index fa42f1b907d0..04e373152724 100644
--- a/drivers/usb/serial/spcp8x5.c
+++ b/drivers/usb/serial/spcp8x5.c
@@ -498,7 +498,7 @@ static void spcp8x5_process_read_urb(struct urb *urb)
498 498
499 /* overrun is special, not associated with a char */ 499 /* overrun is special, not associated with a char */
500 if (status & UART_OVERRUN_ERROR) 500 if (status & UART_OVERRUN_ERROR)
501 tty_insert_flip_char(tty, 0, TTY_OVERRUN); 501 tty_insert_flip_char(&port->port, 0, TTY_OVERRUN);
502 502
503 if (status & UART_DCD) 503 if (status & UART_DCD)
504 usb_serial_handle_dcd_change(port, tty, 504 usb_serial_handle_dcd_change(port, tty,