aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2022-06-08 12:54:31 +0300
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:45:09 +0200
commitaf14f3007e2dca0d112f10f6717ba43093f74e81 (patch)
tree52c05a216b5faeadc033a6297626de24dcd4dc14 /include/linux/debugobjects.h
parent197eb5c416ff0e52d152e6ff59b4e759d2f3e10d (diff)
serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
Make sure LSR flags are preserved in dw8250_tx_wait_empty(). This function is called from a low-level out function and therefore cannot call serial_lsr_in() as it would lead to infinite recursion. It is borderline if the flags need to be saved here at all since this code relates to writing LCR register which usually implies no important characters should be arriving. Fixes: 914eaf935ec7 ("serial: 8250_dw: Allow TX FIFO to drain before writing to UART_LCR") Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions