]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
spi: spi-mem: Add missing description for data.nbytes field
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 20 Sep 2018 07:31:10 +0000 (09:31 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 20 Sep 2018 19:23:25 +0000 (12:23 -0700)
Add a description for spi_mem_op.data.nbytes to the kerneldoc header.

Fixes: c36ff266dc82 ("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>
include/linux/spi/spi-mem.h

index 62722fb7472d86efd55dfa029f939d7b5b28d941..0cfbb1ad8d967b36d42e337b95bf2491999fd628 100644 (file)
@@ -79,6 +79,8 @@ enum spi_mem_data_dir {
  * @dummy.buswidth: number of IO lanes used to transmit the dummy bytes
  * @data.buswidth: number of IO lanes used to send/receive the data
  * @data.dir: direction of the transfer
+ * @data.nbytes: number of data bytes to send/receive. Can be zero if the
+ *              operation does not involve transferring data
  * @data.buf.in: input buffer
  * @data.buf.out: output buffer
  */