summaryrefslogtreecommitdiff
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorBrian Johannesmeyer <bjohannesmeyer@gmail.com>2023-11-03 19:21:20 +0300
committerJonathan Corbet <corbet@lwn.net>2023-11-17 18:52:13 +0300
commit5483cc3dfd8da2d82603cc4a18db21866d58308e (patch)
tree03f2c55616ceba9c36d5d209f647cc65650b7e95 /Documentation/core-api
parent407434939b072a4bc14f3e2b83823ba073cf8f42 (diff)
downloadlinux-5483cc3dfd8da2d82603cc4a18db21866d58308e.tar.xz
docs: dma-api: Fix description of the sync_sg API
Fix the description of the parameters to dma_sync_sg*. They should be the same as the parameters to dma_map_sg(), not dma_map_single(). Signed-off-by: Brian Johannesmeyer <bjohannesmeyer@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20231103162120.3474026-1-bjohannesmeyer@gmail.com>
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/dma-api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/dma-api.rst b/Documentation/core-api/dma-api.rst
index 829f20a193ca..8e3cce3d0a23 100644
--- a/Documentation/core-api/dma-api.rst
+++ b/Documentation/core-api/dma-api.rst
@@ -448,7 +448,7 @@ DMA address entries returned.
Synchronise a single contiguous or scatter/gather mapping for the CPU
and device. With the sync_sg API, all the parameters must be the same
-as those passed into the single mapping API. With the sync_single API,
+as those passed into the sg mapping API. With the sync_single API,
you can use dma_handle and size parameters that aren't identical to
those passed into the single mapping API to do a partial sync.