linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmaengine: dmatest: Restore "memcpy" as default mode
@ 2016-09-14 17:40 Eugeniy Paltsev
  2016-09-15  3:24 ` Appana Durga Kedareswara Rao
  2016-09-15 15:48 ` Vinod Koul
  0 siblings, 2 replies; 5+ messages in thread
From: Eugeniy Paltsev @ 2016-09-14 17:40 UTC (permalink / raw)
  To: dmaengine
  Cc: linux-kernel, appana.durga.rao, vinod.koul, dan.j.williams,
	andriy.shevchenko, linux-snps-arc, Eugeniy Paltsev

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>
---
 drivers/dma/dmatest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c
index 53e9728..cf76fc6 100644
--- 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);
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-19  3:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 17:40 [PATCH] dmaengine: dmatest: Restore "memcpy" as default mode Eugeniy Paltsev
2016-09-15  3:24 ` Appana Durga Kedareswara Rao
2016-09-15 15:48 ` Vinod Koul
2016-10-18 18:14   ` Dave Jiang
2016-10-19  3:34     ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).