summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
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:26:54 +0100
commit4f5897e03e23298ea969503363a8641d4812ce26 (patch)
tree1f8839f9ce2ec65aab41c9435ffc47c641955c72 /include/linux/debugobjects.h
parentf1f6e74a6ddf7e4341f64aa4c7f03cb5c711b699 (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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions