History

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.

Felipe Balbi committed 12 years ago

Commit bd5dc091 parent 6bf78961 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/serial_reg.h+1−1
@@ -32,7 +32,7 @@ · 31 unmodified lines
3232
3333 #define UART_IIR 2 /* In: Interrupt ID Register */
3434 #define UART_IIR_NO_INT 0x01 /* No interrupts pending */
35−#define UART_IIR_ID 0x06 /* Mask for the interrupt ID */
35+#define UART_IIR_ID 0x0e /* Mask for the interrupt ID */
3636 #define UART_IIR_MSI 0x00 /* Modem status interrupt */
3737 #define UART_IIR_THRI 0x02 /* Transmitter holding register empty */
3838 #define UART_IIR_RDI 0x04 /* Receiver data interrupt */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t