summaryrefslogtreecommitdiff
path: root/arch/openrisc/kernel/head.S
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2018-12-19 14:19:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 15:34:41 +0100
commitf6c0485c509e21dee309595646eb4d0dcd38ac07 (patch)
tree190edf149f3eeeda3d07b43aecbe8c286eae3c11 /arch/openrisc/kernel/head.S
parent608024a3a186c9bf958fe01dac244e187b1b04af (diff)
serial: max310x: Fix tx_empty() callback
[ Upstream commit a8da3c7873ea57acb8f9cea58c0af477522965aa ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/openrisc/kernel/head.S')
0 files changed, 0 insertions, 0 deletions