diff mbox

ARM: pxa: fix the number of DMA requestor lines

Message ID 1457480771-24965-1-git-send-email-robert.jarzmik@free.fr (mailing list archive)
State New, archived
Headers show

Commit Message

Robert Jarzmik March 8, 2016, 11:46 p.m. UTC
The number of requestor lines was clamped to 0 for all pxa architectures
in the requestor declaration. Fix this by using the value.

Fixes: 72b195cb7162 ("ARM: pxa: add the number of DMA requestor lines")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 arch/arm/mach-pxa/devices.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Robert Jarzmik March 29, 2016, 7 p.m. UTC | #1
Robert Jarzmik <robert.jarzmik@free.fr> writes:

> The number of requestor lines was clamped to 0 for all pxa architectures
> in the requestor declaration. Fix this by using the value.
>
> Fixes: 72b195cb7162 ("ARM: pxa: add the number of DMA requestor lines")
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> ---
>  arch/arm/mach-pxa/devices.c | 1 +
>  1 file changed, 1 insertion(+)
Queued to pxa/fixes.
diff mbox

Patch

diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c
index 913a319c7b00..fffb697bbf0e 100644
--- a/arch/arm/mach-pxa/devices.c
+++ b/arch/arm/mach-pxa/devices.c
@@ -1235,5 +1235,6 @@  static struct platform_device pxa2xx_pxa_dma = {
 void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors)
 {
 	pxa_dma_pdata.dma_channels = nb_channels;
+	pxa_dma_pdata.nb_requestors = nb_requestors;
 	pxa_register_device(&pxa2xx_pxa_dma, &pxa_dma_pdata);
 }