diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-01-27 19:13:44 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-02-03 05:02:06 -0800 |
commit | f9cbba7e132ed3c60cab9a557595bb9de28108a6 (patch) | |
tree | 06845240ff927bcd5720f5b18526294424c06a8c /drivers/tty | |
parent | 14892e5b37a1517314cb136042d8c23429abbfac (diff) |
serial: tegra: dequeue dma req using tegra_dma_dequeue_req()
The dma client should use the tegra_dma_dequeue_req() for
dequeue the dma request.
Change-Id: I1bfdca4810a61cb9f9699dabafb2ba045d2c6bd5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77803
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/tegra_hsuart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/tegra_hsuart.c b/drivers/tty/serial/tegra_hsuart.c index fecc3cf46f4d..04d007a03eb7 100644 --- a/drivers/tty/serial/tegra_hsuart.c +++ b/drivers/tty/serial/tegra_hsuart.c @@ -340,7 +340,7 @@ static void do_handle_rx_dma(struct tegra_uart_port *t) struct uart_port *u = &t->uport; if (t->rts_active) set_rts(t, false); - tegra_dma_dequeue(t->rx_dma); + tegra_dma_dequeue_req(t->rx_dma, &t->rx_dma_req); tty_flip_buffer_push(u->state->port.tty); /* enqueue the request again */ tegra_start_dma_rx(t); @@ -615,7 +615,7 @@ static void tegra_stop_rx(struct uart_port *u) t->rx_in_progress = 0; if (t->use_rx_dma && t->rx_dma) - tegra_dma_dequeue(t->rx_dma); + tegra_dma_dequeue_req(t->rx_dma, &t->rx_dma_req); else do_handle_rx_pio(t); |