diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2015-11-18 15:41:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 04:59:48 +0100 |
commit | f1f5c1400f7907a1b52be94cabe8992b480785cf (patch) | |
tree | dee699e1aa353ee661731d6c2221a34b0cc98f0e /tools/include | |
parent | ARM: meson: serial: only disable tx irq on stop (diff) | |
download | linux-f1f5c1400f7907a1b52be94cabe8992b480785cf.tar.xz linux-f1f5c1400f7907a1b52be94cabe8992b480785cf.zip |
ARM: meson: serial: use meson_uart_tx_empty() to wait for empty
Use the meson_uart_tx_empty() instead of a direct read of the status
register. This is easier to read and will ensure the UART's transmit
state machine is idle when trying to update the baud rate.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Tested-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions