|
|
@@ -1,17 +1,22 @@
|
|
|
-From cb65fd2bb68fdbf719d1ce08b11b92d431be8a84 Mon Sep 17 00:00:00 2001
|
|
|
+From d3824968dbd9056844bbd5041020a3e28c748558 Mon Sep 17 00:00:00 2001
|
|
|
From: Tony Han <[email protected]>
|
|
|
-Date: Tue, 12 Dec 2023 13:32:42 +0800
|
|
|
+Date: Wed, 3 Dec 2025 13:11:43 +0100
|
|
|
Subject: [PATCH] dmaengine: at_xdmac: get the number of DMA channels from
|
|
|
device tree
|
|
|
|
|
|
In case of kernel runs in non-secure mode, the number of DMA channels can
|
|
|
be got from device tree since the value read from GTYPE register is "0" as
|
|
|
it's always secured.
|
|
|
+
|
|
|
As the number of channels can never be negative, update them to the type
|
|
|
"unsigned".
|
|
|
|
|
|
+This is required for LAN969x.
|
|
|
+
|
|
|
Signed-off-by: Tony Han <[email protected]>
|
|
|
-Reviewed-by: Cristian Birsan <[email protected]>
|
|
|
+Signed-off-by: Robert Marko <[email protected]>
|
|
|
+Link: https://patch.msgid.link/[email protected]
|
|
|
+Signed-off-by: Vinod Koul <[email protected]>
|
|
|
---
|
|
|
drivers/dma/at_xdmac.c | 26 +++++++++++++++++++++++---
|
|
|
1 file changed, 23 insertions(+), 3 deletions(-)
|