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>
Esse commit está contido em:
@@ -441,7 +441,7 @@ static void check_modem_status(struct uart_sunsu_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);
|
||||
}
|
||||
|
||||
static irqreturn_t sunsu_serial_interrupt(int irq, void *dev_id)
|
||||
|
Referência em uma nova issue
Block a user