Skip to content

Commit 7fc3b3f

Browse files
author
Vinod Koul
committed
Merge branch 'topic/doc' into for-linus
2 parents 2ef7ff0 + 397dadf commit 7fc3b3f

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

Documentation/dmaengine/client.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ The slave DMA usage consists of following steps:
3737
2. Set slave and controller specific parameters
3838

3939
Next step is always to pass some specific information to the DMA
40-
driver. Most of the generic information which a slave DMA can use
41-
is in struct dma_slave_config. This allows the clients to specify
40+
driver. Most of the generic information which a slave DMA can use
41+
is in struct dma_slave_config. This allows the clients to specify
4242
DMA direction, DMA addresses, bus widths, DMA burst lengths etc
4343
for the peripheral.
4444

@@ -52,7 +52,7 @@ The slave DMA usage consists of following steps:
5252
struct dma_slave_config *config)
5353

5454
Please see the dma_slave_config structure definition in dmaengine.h
55-
for a detailed explanation of the struct members. Please note
55+
for a detailed explanation of the struct members. Please note
5656
that the 'direction' member will be going away as it duplicates the
5757
direction given in the prepare call.
5858

@@ -101,7 +101,7 @@ The slave DMA usage consists of following steps:
101101
desc = dmaengine_prep_slave_sg(chan, sgl, nr_sg, direction, flags);
102102

103103
Once a descriptor has been obtained, the callback information can be
104-
added and the descriptor must then be submitted. Some DMA engine
104+
added and the descriptor must then be submitted. Some DMA engine
105105
drivers may hold a spinlock between a successful preparation and
106106
submission so it is important that these two operations are closely
107107
paired.
@@ -138,7 +138,7 @@ The slave DMA usage consists of following steps:
138138
activity via other DMA engine calls not covered in this document.
139139

140140
dmaengine_submit() will not start the DMA operation, it merely adds
141-
it to the pending queue. For this, see step 5, dma_async_issue_pending.
141+
it to the pending queue. For this, see step 5, dma_async_issue_pending.
142142

143143
5. Issue pending DMA requests and wait for callback notification
144144

@@ -184,13 +184,13 @@ Further APIs:
184184

185185
3. int dmaengine_resume(struct dma_chan *chan)
186186

187-
Resume a previously paused DMA channel. It is invalid to resume a
187+
Resume a previously paused DMA channel. It is invalid to resume a
188188
channel which is not currently paused.
189189

190190
4. enum dma_status dma_async_is_tx_complete(struct dma_chan *chan,
191191
dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used)
192192

193-
This can be used to check the status of the channel. Please see
193+
This can be used to check the status of the channel. Please see
194194
the documentation in include/linux/dmaengine.h for a more complete
195195
description of this API.
196196

@@ -200,7 +200,7 @@ Further APIs:
200200

201201
Note:
202202
Not all DMA engine drivers can return reliable information for
203-
a running DMA channel. It is recommended that DMA engine users
203+
a running DMA channel. It is recommended that DMA engine users
204204
pause or stop (via dmaengine_terminate_all()) the channel before
205205
using this API.
206206

Documentation/dmaengine/dmatest.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ command:
3434
% ls -1 /sys/class/dma/
3535

3636
Once started a message like "dmatest: Started 1 threads using dma0chan0" is
37-
emitted. After that only test failure messages are reported until the test
37+
emitted. After that only test failure messages are reported until the test
3838
stops.
3939

4040
Note that running a new test will not stop any in progress test.
@@ -43,11 +43,11 @@ The following command returns the state of the test.
4343
% cat /sys/module/dmatest/parameters/run
4444

4545
To wait for test completion userpace can poll 'run' until it is false, or use
46-
the wait parameter. Specifying 'wait=1' when loading the module causes module
46+
the wait parameter. Specifying 'wait=1' when loading the module causes module
4747
initialization to pause until a test run has completed, while reading
4848
/sys/module/dmatest/parameters/wait waits for any running test to complete
49-
before returning. For example, the following scripts wait for 42 tests
50-
to complete before exiting. Note that if 'iterations' is set to 'infinite' then
49+
before returning. For example, the following scripts wait for 42 tests
50+
to complete before exiting. Note that if 'iterations' is set to 'infinite' then
5151
waiting is disabled.
5252

5353
Example:
@@ -81,7 +81,7 @@ Example of output:
8181

8282
The message format is unified across the different types of errors. A number in
8383
the parens represents additional information, e.g. error code, error counter,
84-
or status. A test thread also emits a summary line at completion listing the
84+
or status. A test thread also emits a summary line at completion listing the
8585
number of tests executed, number that failed, and a result code.
8686

8787
Example:

Documentation/dmaengine/provider.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ where to put them)
384384
- The descriptor should be prepared for reuse by invoking
385385
dmaengine_desc_set_reuse() which will set DMA_CTRL_REUSE.
386386
- dmaengine_desc_set_reuse() will succeed only when channel support
387-
reusable descriptor as exhibited by capablities
387+
reusable descriptor as exhibited by capabilities
388388
- As a consequence, if a device driver wants to skip the dma_map_sg() and
389389
dma_unmap_sg() in between 2 transfers, because the DMA'd data wasn't used,
390390
it can resubmit the transfer right after its completion.

Documentation/dmaengine/pxa_dma.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Constraints
2929

3030
d) Bandwidth guarantee
3131
The PXA architecture has 4 levels of DMAs priorities : high, normal, low.
32-
The high prorities get twice as much bandwidth as the normal, which get twice
32+
The high priorities get twice as much bandwidth as the normal, which get twice
3333
as much as the low priorities.
3434
A driver should be able to request a priority, especially the real-time
3535
ones such as pxa_camera with (big) throughputs.

0 commit comments

Comments
 (0)