diff options
| author | Sherry Sun <[email protected]> | 2023-02-23 09:39:41 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-09 16:06:28 +0000 |
| commit | 2411fd94ceaa6e11326e95d6ebf876cbfed28d23 (patch) | |
| tree | 7c822a0ee2ac5d6e2e4aad318a1e96d004421dc8 /fs/proc/array.c | |
| parent | Revert "tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config depe... (diff) | |
| download | kernel-2411fd94ceaa6e11326e95d6ebf876cbfed28d23.tar.gz kernel-2411fd94ceaa6e11326e95d6ebf876cbfed28d23.zip | |
tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
According to LPUART RM, Transmission Complete Flag becomes 0 if queuing
a break character by writing 1 to CTRL[SBK], so here need to skip
waiting for transmission complete when UARTCTRL_SBK is asserted,
otherwise the kernel may stuck here.
And actually set_termios() adds transmission completion waiting to avoid
data loss or data breakage when changing the baud rate, but we don't
need to worry about this when queuing break characters.
Signed-off-by: Sherry Sun <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
