OSDN Git Service

dmaengine: mmp-pdma: add number of requestors
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 15 Feb 2016 20:57:46 +0000 (21:57 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 26 Feb 2016 21:56:52 +0000 (22:56 +0100)
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

index 2a330ec..d1397c8 100644 (file)
@@ -14,6 +14,7 @@
 
 struct mmp_dma_platdata {
        int dma_channels;
+       int nb_requestors;
 };
 
 #endif /* MMP_DMA_H */