Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730587

[PATCH 1/2] dmaengine: List all allowed values for src/dst_addr_width in kernel doc

From Stefan Brüns <stefan.bruens@rwth-aachen.de>
Newsgroups linux.kernel
Subject [PATCH 1/2] dmaengine: List all allowed values for src/dst_addr_width in kernel doc
Date 2017-09-12 01:50 +0200
Message-ID <uoGCL-1Nt-13@gated-at.bofh.it> (permalink)
References <uoGCL-1Nt-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit 93c6ee94c140 ("dma: Support for 3 bytes word size") and
commit 534a729866f9 ("dmaengine: Add 16 bytes, 32 bytes and 64 bytes
bus widths") added additional values for the allowed word size, but
omitted these from the struct dma_slave_config documentation.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
---
 include/linux/dmaengine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 8319101170fc..2910e7dadc7f 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -329,7 +329,7 @@ enum dma_slave_buswidth {
  * @src_addr_width: this is the width in bytes of the source (RX)
  * register where DMA data shall be read. If the source
  * is memory this may be ignored depending on architecture.
- * Legal values: 1, 2, 4, 8.
+ * Legal values: 1, 2, 3, 4, 8, 16, 32, 64.
  * @dst_addr_width: same as src_addr_width but for destination
  * target (TX) mutatis mutandis.
  * @src_maxburst: the maximum number of words (note: words, as in
-- 
2.14.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] dmaengine: Correct some documentation Stefan Brüns <stefan.bruens@rwth-aachen.de> - 2017-09-12 01:50 +0200
  [PATCH 1/2] dmaengine: List all allowed values for src/dst_addr_width in kernel doc Stefan Brüns <stefan.bruens@rwth-aachen.de> - 2017-09-12 01:50 +0200
  [PATCH 2/2] dmaengine: Mark struct dma_slave_caps kernel-doc correctly, clarify Stefan Brüns <stefan.bruens@rwth-aachen.de> - 2017-09-12 01:50 +0200
  Re: [PATCH 0/2] dmaengine: Correct some documentation Vinod Koul <vinod.koul@intel.com> - 2017-09-21 19:10 +0200

csiph-web