diff --git a/Documentation/driver-api/dmaengine/provider.rst b/Documentation/driver-api/dmaengine/provider.rst index 22d235fb478f..2897ade67b39 100644 --- a/Documentation/driver-api/dmaengine/provider.rst +++ b/Documentation/driver-api/dmaengine/provider.rst @@ -413,9 +413,11 @@ supported. - You'll also need to set following fields in this structure: - - flags: - TODO: Can it be modified by the driver itself, or - should it be always the flags passed in the arguments + - flags: this field belongs to the client. The driver stores the + flags passed in the arguments and must not modify them. It reads + the DMA_PREP_* bits while preparing the descriptor, and must only + test DMA_CTRL_ACK and DMA_CTRL_REUSE, which the client may change + after the descriptor has been prepared. - tx_submit: A pointer to a function you have to implement, that is supposed to push the current transaction descriptor to a