diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-15 21:57:47 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-26 22:57:05 +0100 |
commit | 72b195cb716284217e8b270af420bc7e5cf04b3c (patch) | |
tree | 109b7d12cc9629e61948a49fc7bf710033e26342 /arch/arm/mach-pxa/pxa27x.c | |
parent | c283e41ef32442f41e7180f9bb1c5aedf9255bfe (diff) | |
download | linux-stable-72b195cb716284217e8b270af420bc7e5cf04b3c.tar.gz linux-stable-72b195cb716284217e8b270af420bc7e5cf04b3c.tar.bz2 linux-stable-72b195cb716284217e8b270af420bc7e5cf04b3c.zip |
ARM: pxa: add the number of DMA requestor lines
Declare the number of DMA requestor lines per platform :
- for pxa25x: 40 requestor lines
- for pxa27x: 75 requestor lines
- for pxa3xx: 100 requestor lines
This information will be used to activate the DMA flow control or not.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 49c735962148..2eaa341dd3f8 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c @@ -311,7 +311,7 @@ static int __init pxa27x_init(void) if (!of_have_populated_dt()) { pxa_register_device(&pxa27x_device_gpio, &pxa27x_gpio_info); - pxa2xx_set_dmac_info(32); + pxa2xx_set_dmac_info(32, 75); ret = platform_add_devices(devices, ARRAY_SIZE(devices)); } |