Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90df2daa authored by Robert Jarzmik's avatar Robert Jarzmik Committed by Greg Kroah-Hartman
Browse files

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: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c575be9a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
}