projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b177ea3
)
mtd: sh_flctl: use dmaengine_terminate_all() API
author
Vinod Koul
<vinod.koul@intel.com>
Sat, 11 Oct 2014 15:40:33 +0000
(21:10 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 15 Oct 2014 16:00:59 +0000
(21:30 +0530)
The drivers should use dmaengine_terminate_all() API instead of
accessing the device_control which will be deprecated soon
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/mtd/nand/sh_flctl.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/sh_flctl.c
b/drivers/mtd/nand/sh_flctl.c
index c0670237e7a2ebb1c4b845735ac38c591465e815..0ed7c603298feb6cda23078440feafe3fd45c967 100644
(file)
--- 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,
msecs_to_jiffies(3000));
if (ret <= 0) {
-
chan->device->device_control(chan, DMA_TERMINATE_ALL, 0
);
+
dmaengine_terminate_all(chan
);
dev_err(&flctl->pdev->dev, "wait_for_completion_timeout\n");
}