summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2016-02-15 20:57:46 (GMT)
committerRobert Jarzmik <robert.jarzmik@free.fr>2016-02-26 21:56:52 (GMT)
commitc283e41ef32442f41e7180f9bb1c5aedf9255bfe (patch)
tree6e35863469f260cab5f6327e6061a561c90e6347
parent9ab9ae55fdab7a8d5faa94dcb5dd25dd4298ccf8 (diff)
downloadlinux-c283e41ef32442f41e7180f9bb1c5aedf9255bfe.tar.xz
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>
-rw-r--r--include/linux/platform_data/mmp_dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmp_dma.h b/include/linux/platform_data/mmp_dma.h
index 2a330ec..d1397c8 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 */