projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a2c19
)
dmaengine: dmatest: Restore "memcpy" as default mode
author
Eugeniy Paltsev
<Eugeniy.Paltsev@synopsys.com>
Wed, 14 Sep 2016 17:40:38 +0000
(20:40 +0300)
committer
Vinod Koul
<vinod.koul@intel.com>
Thu, 15 Sep 2016 15:47:58 +0000
(21:17 +0530)
Commit
0d4cb44da6ca0e8
("dmaengine: dmatest: Add support for
scatter-gather DMA mode") changes default "dmatest" behavior by
changing default mode from "memcpy" to "scatter-gather".
Now "memcpy" gets back as default mode.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmatest.c
patch
|
blob
|
history
diff --git
a/drivers/dma/dmatest.c
b/drivers/dma/dmatest.c
index
53e9728
..
cf76fc6
100644
(file)
--- a/
drivers/dma/dmatest.c
+++ b/
drivers/dma/dmatest.c
@@
-56,10
+56,10
@@
module_param(sg_buffers, uint, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(sg_buffers,
"Number of scatter gather buffers (default: 1)");
-static unsigned int dmatest
= 1
;
+static unsigned int dmatest;
module_param(dmatest, uint, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(dmatest,
- "dmatest 0-memcpy 1-slave_sg (default:
1
)");
+ "dmatest 0-memcpy 1-slave_sg (default:
0
)");
static unsigned int xor_sources = 3;
module_param(xor_sources, uint, S_IRUGO | S_IWUSR);