Skip to content

Commit 60489f0

Browse files
Boris Brezillonbroonie
authored andcommitted
spi: spi-mem: Add missing description for data.nbytes field
Add a description for spi_mem_op.data.nbytes to the kerneldoc header. Fixes: c36ff26 ("spi: Extend the core to ease integration of SPI memory controllers") Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8dbbaa4 commit 60489f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/spi/spi-mem.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ enum spi_mem_data_dir {
7979
* @dummy.buswidth: number of IO lanes used to transmit the dummy bytes
8080
* @data.buswidth: number of IO lanes used to send/receive the data
8181
* @data.dir: direction of the transfer
82+
* @data.nbytes: number of data bytes to send/receive. Can be zero if the
83+
* operation does not involve transferring data
8284
* @data.buf.in: input buffer
8385
* @data.buf.out: output buffer
8486
*/

0 commit comments

Comments
 (0)