Explorar o código

dmaengine: mmp-pdma: add number of requestors

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>
Robert Jarzmik %!s(int64=10) %!d(string=hai) anos
pai
achega
c283e41ef3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/linux/platform_data/mmp_dma.h

+ 1 - 0
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 */