|
@@ -310,7 +310,7 @@ static void asc_receive_chars(struct uart_port *port)
|
|
if (mode == ASC_CTL_MODE_8BIT || mode == ASC_CTL_MODE_8BIT_PAR)
|
|
if (mode == ASC_CTL_MODE_8BIT || mode == ASC_CTL_MODE_8BIT_PAR)
|
|
ignore_pe = true;
|
|
ignore_pe = true;
|
|
|
|
|
|
- if (port->irq_wake)
|
|
|
|
|
|
+ if (irqd_is_wakeup_set(irq_get_irq_data(port->irq)))
|
|
pm_wakeup_event(tport->tty->dev, 0);
|
|
pm_wakeup_event(tport->tty->dev, 0);
|
|
|
|
|
|
while ((status = asc_in(port, ASC_STA)) & ASC_STA_RBF) {
|
|
while ((status = asc_in(port, ASC_STA)) & ASC_STA_RBF) {
|