summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/max310x.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2016-12-05 12:05:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 11:51:24 +0100
commit11652fc7b7e381a8d886ae1393e00512b71fe17d (patch)
tree842967441ef0c0316474dbc7e4f15f80fbadbd35 /drivers/tty/serial/max310x.c
parenttty: serial: fsl_lpuart: fix del_timer_sync() vs timer routine deadlock (diff)
downloadlinux-11652fc7b7e381a8d886ae1393e00512b71fe17d.tar.xz
linux-11652fc7b7e381a8d886ae1393e00512b71fe17d.zip
serial: max310x: Add support for newer silicon revisions
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>
Diffstat (limited to 'drivers/tty/serial/max310x.c')
-rw-r--r--drivers/tty/serial/max310x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c
index 8a3e92638e10..9dfedbe6c071 100644
--- a/drivers/tty/serial/max310x.c
+++ b/drivers/tty/serial/max310x.c
@@ -236,7 +236,7 @@
/* Misc definitions */
#define MAX310X_FIFO_SIZE (128)
-#define MAX310x_REV_MASK (0xfc)
+#define MAX310x_REV_MASK (0xf8)
/* MAX3107 specific */
#define MAX3107_REV_ID (0xa0)