From: Brian Johannesmeyer Date: Fri, 3 Nov 2023 16:21:20 +0000 (+0100) Subject: docs: dma-api: Fix description of the sync_sg API X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5483cc3dfd8da2d82603cc4a18db21866d58308e;p=linux.git 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 Signed-off-by: Jonathan Corbet Message-ID: <20231103162120.3474026-1-bjohannesmeyer@gmail.com> --- diff --git a/Documentation/core-api/dma-api.rst b/Documentation/core-api/dma-api.rst index 829f20a193cab..8e3cce3d0a230 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.