diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-15 21:57:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-04 14:49:16 -0700 |
commit | 4ab014655ebad342c6e7beae427c5cc0f8141d2b (patch) | |
tree | ba2ee73e4a9f1c75c60309455f760d132839ff9b | |
parent | afd3dc5a2a2bb0f7164f2daa5972405759c07164 (diff) | |
download | lwn-4ab014655ebad342c6e7beae427c5cc0f8141d2b.tar.gz lwn-4ab014655ebad342c6e7beae427c5cc0f8141d2b.zip |
dmaengine: mmp-pdma: add number of requestors
commit c283e41ef32442f41e7180f9bb1c5aedf9255bfe 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: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/platform_data/mmp_dma.h | 1 |
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 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 */ |