aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2018-12-19 06:19:20 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-19 07:48:45 -0500
commita8da3c7873ea57acb8f9cea58c0af477522965aa (patch)
tree8794b4f7346916054e6a8c9be54ed4d9bee4d763 /drivers/tty/serial/sccnxp.c
parenta88c4736ea36396f4a7b1460202a8caa434238db (diff)
serial: max310x: Fix tx_empty() callback
Function max310x_tx_empty() accesses the IRQSTS register, which is cleared by IC when reading, so if there is an interrupt status, we will lose it. This patch implement the transmitter check only by the current FIFO level. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions