diff options
author | Felipe Balbi <balbi@ti.com> | 2014-04-23 09:58:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-24 16:16:33 -0700 |
commit | bd5dc09f557547399cd44d0a1224df7ff64e4a6b (patch) | |
tree | 36592c8404050646669b5dd4f4dfd7e0a68a15e7 /include/uapi/linux/serial_reg.h | |
parent | 6bf789672ee8387fda08af1deeffd12126e60659 (diff) | |
download | blackbird-op-linux-bd5dc09f557547399cd44d0a1224df7ff64e4a6b.tar.gz blackbird-op-linux-bd5dc09f557547399cd44d0a1224df7ff64e4a6b.zip |
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.h | 2 |
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 */ |