aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial.h
diff options
context:
space:
mode:
authorGabriel Somlo <gsomlo@gmail.com>2022-11-23 08:04:53 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 14:59:40 +0100
commit771268843caa3ecd3fa43b05a6d1d74700785ad8 (patch)
tree3708d2d0064ef9deceaa7f320ba805b9220083c5 /include/linux/serial.h
parentserial: liteuart: move tty_flip_buffer_push() out of rx loop (diff)
downloadlinux-rng-771268843caa3ecd3fa43b05a6d1d74700785ad8.tar.xz
linux-rng-771268843caa3ecd3fa43b05a6d1d74700785ad8.zip
serial: liteuart: rx loop should only ack rx events
While receiving characters, it is necessary to acknowledge each one by writing to the EV_PENDING register's EV_RX bit. Ensure we do not also gratuitously set the EV_TX bit in the process. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20221123130500.1030189-8-gsomlo@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial.h')
0 files changed, 0 insertions, 0 deletions