serial: max310x: Add support for newer silicon revisions
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 5 Dec 2016 11:05:19 +0000 (14:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:51:24 +0000 (11:51 +0100)
New IC MAX14830 has 0xB4 silicon revision ID.
This patch adds support for such ICs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c

index 8a3e92638e1076a3c6f7af6ad38cd9fc46d91c53..9dfedbe6c07188f51dbce9589b16b1dafced43f6 100644 (file)
 
 /* Misc definitions */
 #define MAX310X_FIFO_SIZE              (128)
-#define MAX310x_REV_MASK               (0xfc)
+#define MAX310x_REV_MASK               (0xf8)
 
 /* MAX3107 specific */
 #define MAX3107_REV_ID                 (0xa0)