summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2018-12-19 14:19:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-19 15:48:45 +0300
commita8da3c7873ea57acb8f9cea58c0af477522965aa (patch)
tree8794b4f7346916054e6a8c9be54ed4d9bee4d763 /tools/perf/scripts/python
parenta88c4736ea36396f4a7b1460202a8caa434238db (diff)
downloadlinux-a8da3c7873ea57acb8f9cea58c0af477522965aa.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions