We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c9c1ea commit ae1b6b4Copy full SHA for ae1b6b4
drivers/tty/serial/sh-sci.c
@@ -1360,14 +1360,12 @@ static void sci_dma_rx_complete(void *arg)
1360
return;
1361
1362
fail:
1363
- uart_port_unlock_irqrestore(port, flags);
1364
- dev_warn(port->dev, "Failed submitting Rx DMA descriptor\n");
1365
/* Switch to PIO */
1366
- uart_port_lock_irqsave(port, &flags);
1367
dmaengine_terminate_async(chan);
1368
sci_dma_rx_chan_invalidate(s);
1369
sci_dma_rx_reenable_irq(s);
1370
uart_port_unlock_irqrestore(port, flags);
+ dev_warn(port->dev, "Failed submitting Rx DMA descriptor\n");
1371
}
1372
1373
static void sci_dma_tx_release(struct sci_port *s)
0 commit comments