summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorPradeep Goudagunta <pgoudagunta@nvidia.com>2013-12-23 12:14:38 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2013-12-23 06:36:51 -0800
commitb37dd70721d70a9ed253c64f665a2c743fc46f5e (patch)
tree7c3b2bebd3f01f83123e79903e850c77f828c0ab /drivers/tty
parenta02886f3247beb6628d5f9fb65e9ba522482df5d (diff)
serial: tegra: Fix RX DMA
Acknowledge dma after aborting the RX dma request. Bug 1423050 Bug 1415632 Change-Id: I1edfa49a92074aa37c9686865356091191be085b Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-on: http://git-master/r/348692 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/serial-tegra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c
index a310fdec8f06..10afd9d5b28f 100644
--- a/drivers/tty/serial/serial-tegra.c
+++ b/drivers/tty/serial/serial-tegra.c
@@ -599,6 +599,7 @@ static void tegra_uart_handle_rx_dma(struct tegra_uart_port *tup)
dmaengine_terminate_all(tup->rx_dma_chan);
dmaengine_tx_status(tup->rx_dma_chan, tup->rx_cookie, &state);
+ async_tx_ack(tup->rx_dma_desc);
count = tup->rx_bytes_requested - state.residue;
/* If we are here, DMA is stopped */