lkml.org 
[lkml]   [2023]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH tty v1 2/8] serial: core: lock port for stop_rx() in uart_suspend_port()
    Hi,

    On Thu, May 25, 2023 at 2:35 AM John Ogness <john.ogness@linutronix.de> wrote:
    >
    > The uarts_ops stop_rx() callback expects that the port->lock is
    > taken and interrupts are disabled.
    >
    > Fixes: c9d2325cdb92 ("serial: core: Do stop_rx in suspend path for console if console_suspend is disabled")
    > Signed-off-by: John Ogness <john.ogness@linutronix.de>
    > ---
    > drivers/tty/serial/serial_core.c | 5 ++++-
    > 1 file changed, 4 insertions(+), 1 deletion(-)

    Reviewed-by: Douglas Anderson <dianders@chromium.org>

    \
     
     \ /
      Last update: 2023-05-25 22:40    [W:2.082 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site