Skip to content

Commit d1e85fc

Browse files
Daniel Thompsongregkh
authored andcommitted
Documentation: dmaengine: Correctly describe dmatest with channel unset
commit c61d7b2 upstream. Currently the documentation states that channels must be configured before running the dmatest. This has not been true since commit 6b41030 ("dmaengine: dmatest: Restore default for channel"). Fix accordingly. Fixes: 6b41030 ("dmaengine: dmatest: Restore default for channel") Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20211118100952.27268-3-daniel.thompson@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f6736bd commit d1e85fc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎Documentation/driver-api/dmaengine/dmatest.rst‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,14 @@ Part 5 - Handling channel allocation
143143
Allocating Channels
144144
-------------------
145145

146-
Channels are required to be configured prior to starting the test run.
147-
Attempting to run the test without configuring the channels will fail.
146+
Channels do not need to be configured prior to starting a test run. Attempting
147+
to run the test without configuring the channels will result in testing any
148+
channels that are available.
148149

149150
Example::
150151

151152
% echo 1 > /sys/module/dmatest/parameters/run
152-
dmatest: Could not start test, no channels configured
153+
dmatest: No channels configured, continue with any
153154

154155
Channels are registered using the "channel" parameter. Channels can be requested by their
155156
name, once requested, the channel is registered and a pending thread is added to the test list.

0 commit comments

Comments
 (0)