Skip to content

Commit 90df2da

Browse files
rjarzmikgregkh
authored andcommitted
ARM: pxa: fix the number of DMA requestor lines
commit 4c35430ad18f5a034302cb90e559ede5a27f93b9 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c575be9 commit 90df2da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/mach-pxa/devices.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,5 +1235,6 @@ static struct platform_device pxa2xx_pxa_dma = {
12351235
void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors)
12361236
{
12371237
pxa_dma_pdata.dma_channels = nb_channels;
1238+
pxa_dma_pdata.nb_requestors = nb_requestors;
12381239
pxa_register_device(&pxa2xx_pxa_dma, &pxa_dma_pdata);
12391240
}

0 commit comments

Comments
 (0)