aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorSherry Sun <[email protected]>2023-02-23 17:39:41 +0800
committerGreg Kroah-Hartman <[email protected]>2023-03-09 17:06:28 +0100
commit2411fd94ceaa6e11326e95d6ebf876cbfed28d23 (patch)
tree7c822a0ee2ac5d6e2e4aad318a1e96d004421dc8 /drivers/usb/cdns3/cdns3-ti.c
parent2d638be71155b2e036aca1966b6129e2d661e91f (diff)
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 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions