Skip to content

Commit d795a05

Browse files
dlechbroonie
authored andcommitted
spi: fix missing offload_flags doc
Add offload_flags to the documentation comment for struct spi_transfer. This was missed when adding the field. Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/linux-next/[email protected]/ Fixes: 700a281 ("spi: add offload TX/RX streaming APIs") Signed-off-by: David Lechner <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent ff4d415 commit d795a05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/spi/spi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,8 @@ struct spi_res {
973973
* @rx_sg_mapped: If true, the @rx_sg is mapped for DMA
974974
* @tx_sg: Scatterlist for transmit, currently not for client use
975975
* @rx_sg: Scatterlist for receive, currently not for client use
976+
* @offload_flags: Flags that are only applicable to specialized SPI offload
977+
* transfers. See %SPI_OFFLOAD_XFER_* in spi-offload.h.
976978
* @ptp_sts_word_pre: The word (subject to bits_per_word semantics) offset
977979
* within @tx_buf for which the SPI device is requesting that the time
978980
* snapshot for this transfer begins. Upon completing the SPI transfer,

0 commit comments

Comments
 (0)