Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Brian Johannesmeyer and committed by
Jonathan Corbet
5483cc3d 40743493

+1 -1
+1 -1
Documentation/core-api/dma-api.rst
··· 448 448 449 449 Synchronise a single contiguous or scatter/gather mapping for the CPU 450 450 and device. With the sync_sg API, all the parameters must be the same 451 - as those passed into the single mapping API. With the sync_single API, 451 + as those passed into the sg mapping API. With the sync_single API, 452 452 you can use dma_handle and size parameters that aren't identical to 453 453 those passed into the single mapping API to do a partial sync. 454 454