Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221905
b: refs/heads/master
c: 47d3904
h: refs/heads/master
i:
  221903: df528ea
v: v3
  • Loading branch information
Lawrence Rust authored and Greg Kroah-Hartman committed Nov 11, 2010
1 parent 791730b commit 3a7925b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c95ba1e1de7edffc0c4e275e147f1a9eb1f81ae
refs/heads/master: 47d3904fe40d62deee8cd46e79ca784e7a548acd
5 changes: 4 additions & 1 deletion trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -2343,8 +2343,11 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,

/*
* CTS flow control flag and modem status interrupts
* Only disable MSI if no threads are waiting in
* serial_core::uart_wait_modem_status
*/
up->ier &= ~UART_IER_MSI;
if (!waitqueue_active(&up->port.state->port.delta_msr_wait))
up->ier &= ~UART_IER_MSI;
if (!(up->bugs & UART_BUG_NOMSR) &&
UART_ENABLE_MS(&up->port, termios->c_cflag))
up->ier |= UART_IER_MSI;
Expand Down

0 comments on commit 3a7925b

Please sign in to comment.