* [PATCH] ARM: pxa: fix the number of DMA requestor lines
@ 2016-03-08 23:46 Robert Jarzmik
2016-03-29 19:00 ` Robert Jarzmik
0 siblings, 1 reply; 2+ messages in thread
From: Robert Jarzmik @ 2016-03-08 23:46 UTC (permalink / raw)
To: linux-arm-kernel
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(+)
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);
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: pxa: fix the number of DMA requestor lines
2016-03-08 23:46 [PATCH] ARM: pxa: fix the number of DMA requestor lines Robert Jarzmik
@ 2016-03-29 19:00 ` Robert Jarzmik
0 siblings, 0 replies; 2+ messages in thread
From: Robert Jarzmik @ 2016-03-29 19:00 UTC (permalink / raw)
To: linux-arm-kernel
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.
--
Robert
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-29 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 23:46 [PATCH] ARM: pxa: fix the number of DMA requestor lines Robert Jarzmik
2016-03-29 19:00 ` Robert Jarzmik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox