|
@@ -1574,7 +1574,6 @@ static void sci_request_dma(struct uart_port *port)
|
|
|
if (dma_mapping_error(chan->device->dev, s->tx_dma_addr)) {
|
|
|
dev_warn(port->dev, "Failed mapping Tx DMA descriptor\n");
|
|
|
dma_release_channel(chan);
|
|
|
- chan = NULL;
|
|
|
} else {
|
|
|
dev_dbg(port->dev, "%s: mapped %lu@%p to %pad\n",
|
|
|
__func__, UART_XMIT_SIZE,
|