Merge tag 'v5.19-rc3' into tty-next
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2022 07:32:47 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2022 07:32:47 +0000 (09:32 +0200)
We need the tty/serial fixes in here as well.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1  2 
drivers/tty/serial/8250/8250_port.c
drivers/tty/serial/serial_core.c
include/linux/serial_core.h

@@@ -1502,9 -1514,11 +1502,11 @@@ static inline void __stop_tx(struct uar
        struct uart_8250_em485 *em485 = p->em485;
  
        if (em485) {
 -              unsigned char lsr = serial_in(p, UART_LSR);
 +              unsigned char lsr = serial_lsr_in(p);
                u64 stop_delay = 0;
  
+               p->lsr_saved_flags |= lsr & LSR_SAVE_FLAGS;
                if (!(lsr & UART_LSR_THRE))
                        return;
                /*
Simple merge
Simple merge