tty/serial: atmel: add new version check for usart
authorJonas Danielsson <jonas@orbital-systems.com>
Mon, 29 Jan 2018 11:39:15 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Mar 2018 10:17:53 +0000 (11:17 +0100)
commitb583e6ebc2961d6ceabdc36cdaf4da6d6f19ee5c
tree786fc0b1d72299fb2819dd68e3c69275f784d74c
parente79e49e76ca21ce4004fe4c7d41b4eeb953b420e
tty/serial: atmel: add new version check for usart

commit fd63a8903a2c40425a9811c3371dd4d0f42c0ad3 upstream.

On our at91sam9260 based board the usart0 and usart1 ports report
their versions (ATMEL_US_VERSION) as 0x10302. This version is not
included in the current checks in the driver.

Signed-off-by: Jonas Danielsson <jonas@orbital-systems.com>
Acked-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c