diff options
-rw-r--r-- | drivers/mtd/nand/sh_flctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c index c0670237e7a2..0ed7c603298f 100644 --- a/drivers/mtd/nand/sh_flctl.c +++ b/drivers/mtd/nand/sh_flctl.c | |||
@@ -395,7 +395,7 @@ static int flctl_dma_fifo0_transfer(struct sh_flctl *flctl, unsigned long *buf, | |||
395 | msecs_to_jiffies(3000)); | 395 | msecs_to_jiffies(3000)); |
396 | 396 | ||
397 | if (ret <= 0) { | 397 | if (ret <= 0) { |
398 | chan->device->device_control(chan, DMA_TERMINATE_ALL, 0); | 398 | dmaengine_terminate_all(chan); |
399 | dev_err(&flctl->pdev->dev, "wait_for_completion_timeout\n"); | 399 | dev_err(&flctl->pdev->dev, "wait_for_completion_timeout\n"); |
400 | } | 400 | } |
401 | 401 | ||