From: Alexander Shiyan Date: Mon, 5 Dec 2016 11:05:19 +0000 (+0300) Subject: serial: max310x: Add support for newer silicon revisions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11652fc7b7e381a8d886ae1393e00512b71fe17d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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)