Commit 4ab01465 authored by Robert Jarzmik's avatar Robert Jarzmik Committed by Greg Kroah-Hartman

dmaengine: mmp-pdma: add number of requestors

commit c283e41e upstream.

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: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afd3dc5a
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
struct mmp_dma_platdata { struct mmp_dma_platdata {
int dma_channels; int dma_channels;
int nb_requestors;
}; };
#endif /* MMP_DMA_H */ #endif /* MMP_DMA_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment