aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorAlexander Shiyan <[email protected]>2018-12-19 11:19:20 +0000
committerGreg Kroah-Hartman <[email protected]>2018-12-19 12:48:45 +0000
commita8da3c7873ea57acb8f9cea58c0af477522965aa (patch)
tree8794b4f7346916054e6a8c9be54ed4d9bee4d763 /drivers/tty/serial/sccnxp.c
parentdt-bindings: serial: sh-sci: Document r8a774c0 bindings (diff)
downloadkernel-a8da3c7873ea57acb8f9cea58c0af477522965aa.tar.gz
kernel-a8da3c7873ea57acb8f9cea58c0af477522965aa.zip
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions