diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 11:36:19 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 01:46:19 -0400 |
commit | 0b3d7d39f52bf7b58c956845e2d551487df875da (patch) | |
tree | f289c001483b1e8cb6ea2417df0897e139491858 | |
parent | 157efa8cfa783aaceaeafbc75f536ed7d32f5dae (diff) |
serial: sh: use DMA_COMPLETE for dma completion status
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 537750261aaa..7d8103cd3e2e 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -1433,7 +1433,7 @@ static void work_fn_rx(struct work_struct *work) | |||
1433 | desc = s->desc_rx[new]; | 1433 | desc = s->desc_rx[new]; |
1434 | 1434 | ||
1435 | if (dma_async_is_tx_complete(s->chan_rx, s->active_rx, NULL, NULL) != | 1435 | if (dma_async_is_tx_complete(s->chan_rx, s->active_rx, NULL, NULL) != |
1436 | DMA_SUCCESS) { | 1436 | DMA_COMPLETE) { |
1437 | /* Handle incomplete DMA receive */ | 1437 | /* Handle incomplete DMA receive */ |
1438 | struct dma_chan *chan = s->chan_rx; | 1438 | struct dma_chan *chan = s->chan_rx; |
1439 | struct shdma_desc *sh_desc = container_of(desc, | 1439 | struct shdma_desc *sh_desc = container_of(desc, |