]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/tty/serial/sh-sci.c
Merge remote-tracking branch 'slave-dma/next'
[karo-tx-linux.git] / drivers / tty / serial / sh-sci.c
index d262c1f4af0377dfdfecf7d3e4fe8d9ef7a3fc00..e7e9cabb21fd2a4a6613f075632e6f16f3432a33 100644 (file)
@@ -1434,7 +1434,7 @@ static void work_fn_rx(struct work_struct *work)
        desc = s->desc_rx[new];
 
        if (dma_async_is_tx_complete(s->chan_rx, s->active_rx, NULL, NULL) !=
-           DMA_SUCCESS) {
+           DMA_COMPLETE) {
                /* Handle incomplete DMA receive */
                struct dma_chan *chan = s->chan_rx;
                struct shdma_desc *sh_desc = container_of(desc,