Skip to contentSkip to conversation

docs: dma-api: Fix description of the sync_sg API

PATCH Applied Brian Johannesmeyer 2 participants 2 messages Nov 3, 2023 – Nov 17, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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().

---
 Documentation/core-api/dma-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/dma-api.rst +1 -1
index 829f20a193ca..8e3cce3d0a23 100644
@@ -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.
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 13 lines · Brian Johannesmeyer

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().

---
 Documentation/core-api/dma-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/dma-api.rst +0 -0
index 829f20a193ca..8e3cce3d0a23 100644

Documentation/core-api/dma-api.rst DMA address entries returned. · line 452

Quoted 6 lines
Documentation/core-api/dma-api.rst +1 -1
@@ -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

Applied, thanks.

jon