Merge branch 'ioat' into dmaengine
[linux-drm-fsl-dcu.git] / drivers / serial / sh-sci.c
index 8eb094c1f61b2c2ab17cb68e420f16ad42428823..8bddc70bb5864488760230c59af7f1d5cc57b8c3 100644 (file)
@@ -1084,7 +1084,7 @@ static void work_fn_rx(struct work_struct *work)
                unsigned long flags;
                int count;
 
-               chan->device->device_terminate_all(chan);
+               chan->device->device_control(chan, DMA_TERMINATE_ALL, 0);
                dev_dbg(port->dev, "Read %u bytes with cookie %d\n",
                        sh_desc->partial, sh_desc->cookie);