summaryrefslogtreecommitdiff
path: root/include/uapi/linux/serial_reg.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-04-23 18:58:28 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-25 03:16:33 +0400
commitbd5dc09f557547399cd44d0a1224df7ff64e4a6b (patch)
tree36592c8404050646669b5dd4f4dfd7e0a68a15e7 /include/uapi/linux/serial_reg.h
parent6bf789672ee8387fda08af1deeffd12126e60659 (diff)
downloadlinux-bd5dc09f557547399cd44d0a1224df7ff64e4a6b.tar.xz
serial: fix UART_IIR_ID
UART IRQ Identification bitfield is 3 bits long (bits 3:1) but current mask only masks 2 bits. Fix it. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/serial_reg.h')
-rw-r--r--include/uapi/linux/serial_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/serial_reg.h b/include/uapi/linux/serial_reg.h
index e6322605b138..99b47058816a 100644
--- a/include/uapi/linux/serial_reg.h
+++ b/include/uapi/linux/serial_reg.h
@@ -32,7 +32,7 @@
#define UART_IIR 2 /* In: Interrupt ID Register */
#define UART_IIR_NO_INT 0x01 /* No interrupts pending */
-#define UART_IIR_ID 0x06 /* Mask for the interrupt ID */
+#define UART_IIR_ID 0x0e /* Mask for the interrupt ID */
#define UART_IIR_MSI 0x00 /* Modem status interrupt */
#define UART_IIR_THRI 0x02 /* Transmitter holding register empty */
#define UART_IIR_RDI 0x04 /* Receiver data interrupt */