diff mbox

ARM: dts: pxa: fix dma engine node to pxa3xx-nand

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

Commit Message

Robert Jarzmik Feb. 12, 2016, 11:49 p.m. UTC
Since the switch from mmp_pdma to pxa_dma driver for pxa architectures,
the pxa_dma requires 2 arguments, namely the requestor line and the
requested priority.

Fix the only left device node which was still passing only one argument,
making the pxa3xx-nand driver misbehave in a device-tree configuration,
ie. failing all data transfers.

Fixes: c943646d1f49 ("ARM: dts: pxa: add dma engine node to pxa3xx-nand")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 arch/arm/boot/dts/pxa3xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Robert Jarzmik Feb. 26, 2016, 10:33 p.m. UTC | #1
Robert Jarzmik <robert.jarzmik@free.fr> writes:

> Since the switch from mmp_pdma to pxa_dma driver for pxa architectures,
> the pxa_dma requires 2 arguments, namely the requestor line and the
> requested priority.
>
> Fix the only left device node which was still passing only one argument,
> making the pxa3xx-nand driver misbehave in a device-tree configuration,
> ie. failing all data transfers.
>
> Fixes: c943646d1f49 ("ARM: dts: pxa: add dma engine node to pxa3xx-nand")
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> ---
>  arch/arm/boot/dts/pxa3xx.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Queued into pxa/dt, thanks.

--
Robert
diff mbox

Patch

diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi
index bea454f50ff9..fec47bcd8292 100644
--- a/arch/arm/boot/dts/pxa3xx.dtsi
+++ b/arch/arm/boot/dts/pxa3xx.dtsi
@@ -31,7 +31,7 @@ 
 			reg = <0x43100000 90>;
 			interrupts = <45>;
 			clocks = <&clks CLK_NAND>;
-			dmas = <&pdma 97>;
+			dmas = <&pdma 97 3>;
 			dma-names = "data";
 			#address-cells = <1>;
 			#size-cells = <1>;