serial: move delta_msr_wait into the tty_port
This is used by various drivers not just serial and can be extracted as commonality Signed-off-by: Alan Cox <alan@linux.intel.com>
This commit is contained in:
@ -1510,7 +1510,7 @@ static unsigned int check_modem_status(struct uart_8250_port *up)
|
||||
if (status & UART_MSR_DCTS)
|
||||
uart_handle_cts_change(&up->port, status & UART_MSR_CTS);
|
||||
|
||||
wake_up_interruptible(&up->port.state->delta_msr_wait);
|
||||
wake_up_interruptible(&up->port.state->port.delta_msr_wait);
|
||||
}
|
||||
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user