diff options
author | Seraj Alijan <seraj.alijan@sondrel.com> | 2018-12-10 08:52:39 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-12-17 11:45:11 +0530 |
commit | 13396a130ffec45a736bcc08ad92d35e45f67dd8 (patch) | |
tree | b8b4c122ad6e55c2064f36557b7feddf7c1e52af /lib/memory-notifier-error-inject.c | |
parent | a875abfadf265cb1970036898068b34fc63759b7 (diff) |
dmaengine: dmatest: Add transfer_size parameter
Existing transfer size "len" is either generated randomly or set to the
size of test_buf_size. In some cases we need to explicitly specify a
transfer size that is different from the buffer size and non aligned to
test the target device's ability to handle unaligned transfers.
This patch adds optional parameter "transfer_size" to allow setting
explicit transfer size for dma transfers.
Signed-off-by: Seraj Alijan <seraj.alijan@sondrel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions