diff options
-rw-r--r-- | drivers/usb/serial/pl2303.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 91f14c6950f9..299a0ffcb165 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -790,8 +790,10 @@ static void pl2303_process_read_urb(struct urb *urb) | |||
790 | tty_flag = TTY_PARITY; | 790 | tty_flag = TTY_PARITY; |
791 | else if (line_status & UART_FRAME_ERROR) | 791 | else if (line_status & UART_FRAME_ERROR) |
792 | tty_flag = TTY_FRAME; | 792 | tty_flag = TTY_FRAME; |
793 | dev_dbg(&port->dev, "%s - tty_flag = %d\n", __func__, tty_flag); | ||
794 | 793 | ||
794 | if (tty_flag != TTY_NORMAL) | ||
795 | dev_dbg(&port->dev, "%s - tty_flag = %d\n", __func__, | ||
796 | tty_flag); | ||
795 | /* overrun is special, not associated with a char */ | 797 | /* overrun is special, not associated with a char */ |
796 | if (line_status & UART_OVERRUN_ERROR) | 798 | if (line_status & UART_OVERRUN_ERROR) |
797 | tty_insert_flip_char(&port->port, 0, TTY_OVERRUN); | 799 | tty_insert_flip_char(&port->port, 0, TTY_OVERRUN); |