diff options
author | Sergiu Moga <sergiu.moga@microchip.com> | 2022-09-22 14:33:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-22 16:31:42 +0200 |
commit | 1a5a01a1e31e6cc3b83a2c843adba743c2f474b9 (patch) | |
tree | cba7bf50eb5d4462733df8ddc1153394cadc01d4 /drivers/firmware/smccc | |
parent | 79cb50350069e080e14ea9e3fff31b31f877261d (diff) | |
download | linux-1a5a01a1e31e6cc3b83a2c843adba743c2f474b9.tar.bz2 |
tty: serial: atmel: Separate mode clearing between UART and USART
When clearing the mode of the serial IP inside the atmel_set_termios()
method, make sure that the difference between the bitfields placement
of the UART IP's and USART IP's is taken into account, as some of
them overlap with each other. For example, ATMEL_UA_BRSRCCK overlaps
with ATMEL_US_NBSTOP and ATMEL_US_USCLKS overlaps with ATMEL_UA_FILTER.
Furthermore, add definitions for the Baud Rate Source Clock and the
Filter bitfields of the Mode Register of UART IP's, since they were
missing.
Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Link: https://lore.kernel.org/r/20220922113347.144383-7-sergiu.moga@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/smccc')
0 files changed, 0 insertions, 0 deletions