]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
tty: serial: meson: remove duplicate "clear error" bit definition
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 17 Nov 2017 18:17:59 +0000 (19:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 14:32:32 +0000 (15:32 +0100)
commitc0f0b8c51f674d10981704563475020604214fae
treeab685093d2638caad92932a15a905877fa730746
parentdc88922e0a2fab90c478fbea61880acef8a06a32
tty: serial: meson: remove duplicate "clear error" bit definition

The "clear error" bit in the AML_UART_CONTROL register is defined twice.
Remove the AML_UART_CLR_ERR definition and replace it with
AML_UART_CLEAR_ERR.
AML_UART_CLEAR_ERR was chosen to be kept since the datasheet's
description for this bit is "Clear Error" (so developer's don't have to
translate this to "CLR_ERR").
No functional changes intended.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c