aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pch_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/pch_uart.c')
-rw-r--r--drivers/tty/serial/pch_uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index 332f2eb8abbc..e825460478be 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -844,7 +844,7 @@ static int dma_handle_rx(struct eg20t_port *priv)
844 844
845 sg_dma_address(sg) = priv->rx_buf_dma; 845 sg_dma_address(sg) = priv->rx_buf_dma;
846 846
847 desc = priv->chan_rx->device->device_prep_slave_sg(priv->chan_rx, 847 desc = dmaengine_prep_slave_sg(priv->chan_rx,
848 sg, 1, DMA_DEV_TO_MEM, 848 sg, 1, DMA_DEV_TO_MEM,
849 DMA_PREP_INTERRUPT | DMA_CTRL_ACK); 849 DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
850 850
@@ -1003,7 +1003,7 @@ static unsigned int dma_handle_tx(struct eg20t_port *priv)
1003 sg_dma_len(sg) = size; 1003 sg_dma_len(sg) = size;
1004 } 1004 }
1005 1005
1006 desc = priv->chan_tx->device->device_prep_slave_sg(priv->chan_tx, 1006 desc = dmaengine_prep_slave_sg(priv->chan_tx,
1007 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, 1007 priv->sg_tx_p, nent, DMA_MEM_TO_DEV,
1008 DMA_PREP_INTERRUPT | DMA_CTRL_ACK); 1008 DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
1009 if (!desc) { 1009 if (!desc) {