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>
Mon, 19 Mar 2018 07:42:45 +0000 (08:42 +0100)
commit3c8e0474f543dfa58a3f192ec6b7a7397306be4b
tree3c4beb0b058b87b549f3a9a441411f9c0f4c7dc6
parenta6a8916de0db0468dbc34b100a2065555f1078d3
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