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


Groups > linux.kernel > #1332378

[PATCH 2/4] dmaengine: mmp-pdma: add number of requestors

From Robert Jarzmik <robert.jarzmik@free.fr>
Newsgroups linux.kernel
Subject [PATCH 2/4] dmaengine: mmp-pdma: add number of requestors
Date 2016-02-11 22:30 +0100
Message-ID <r16Yi-5Zm-11@gated-at.bofh.it> (permalink)
References <r16Yi-5Zm-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The DMA chip has a fixed number of requestor lines used for flow
control. This number is platform dependent. The pxa_dma dma driver will
use this value to activate or not the flow control.

There won't be any impact on mmp_pdma driver.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 include/linux/platform_data/mmp_dma.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/platform_data/mmp_dma.h b/include/linux/platform_data/mmp_dma.h
index 2a330ec9e2af..d1397c8ed94e 100644
--- a/include/linux/platform_data/mmp_dma.h
+++ b/include/linux/platform_data/mmp_dma.h
@@ -14,6 +14,7 @@
 
 struct mmp_dma_platdata {
 	int dma_channels;
+	int nb_requestors;
 };
 
 #endif /* MMP_DMA_H */
-- 
2.1.4

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


Thread

[PATCH 2/4] dmaengine: mmp-pdma: add number of requestors Robert Jarzmik <robert.jarzmik@free.fr> - 2016-02-11 22:30 +0100

csiph-web