2021-01-04 14:26:04

by Amelie Delaunay

[permalink] [raw]
Subject: [PATCH 1/1] dmaengine: stm32-mdma: fix STM32_MDMA_VERY_HIGH_PRIORITY value

STM32_MDMA_VERY_HIGH_PRIORITY is b11 not 0x11, so fix it with 0x3.

Signed-off-by: Amelie Delaunay <[email protected]>
---
drivers/dma/stm32-mdma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/stm32-mdma.c b/drivers/dma/stm32-mdma.c
index e4637ec786d3..36ba8b43e78d 100644
--- a/drivers/dma/stm32-mdma.c
+++ b/drivers/dma/stm32-mdma.c
@@ -199,7 +199,7 @@
#define STM32_MDMA_MAX_CHANNELS 63
#define STM32_MDMA_MAX_REQUESTS 256
#define STM32_MDMA_MAX_BURST 128
-#define STM32_MDMA_VERY_HIGH_PRIORITY 0x11
+#define STM32_MDMA_VERY_HIGH_PRIORITY 0x3

enum stm32_mdma_trigger_mode {
STM32_MDMA_BUFFER,
--
2.17.1


2021-01-04 16:00:50

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH 1/1] dmaengine: stm32-mdma: fix STM32_MDMA_VERY_HIGH_PRIORITY value

On 04-01-21, 15:20, Amelie Delaunay wrote:
> STM32_MDMA_VERY_HIGH_PRIORITY is b11 not 0x11, so fix it with 0x3.

Applied, thanks

--
~Vinod