serial: imx: stop using USR2 in FIFO reading loop
authorSergey Organov <sorganov@gmail.com>
Wed, 1 Feb 2023 14:26:59 +0000 (17:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:12:05 +0000 (13:12 +0100)
commit53701b6d2ce7202cff88943ee812917c896a8e90
treead4d8f8523db5f0cf5d48229bf1a25f4bacf0fcd
parent0fbca4798af88c20a2b9e4c98ac762408a24b668
serial: imx: stop using USR2 in FIFO reading loop

The chip provides all the needed bits in the URXD0 register that we read
anyway for data, so get rid of reading USR2 and use only URXD0 bits
instead.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Link: https://lore.kernel.org/r/20230201142700.4346-7-sorganov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c