[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5070ac45-2f91-c9d7-de7c-31d38750015e@axentia.se>
Date: Tue, 23 May 2023 14:42:55 +0200
From: Peter Rosin <peda@...ntia.se>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ludovic Desroches <ludovic.desroches@...rochip.com>,
Tudor Ambarus <tudor.ambarus@...aro.org>,
Vinod Koul <vkoul@...nel.org>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
linux-arm-kernel@...ts.infradead.org, dmaengine@...r.kernel.org
Subject: [PATCH 2/2] dmaengine: at_hdmac: Remove unused field values that do
not fit
The values are not used, and they do not fit in the intended
register field (ATC_FC, 2 bits wide). Kill 'em all.
Signed-off-by: Peter Rosin <peda@...ntia.se>
---
drivers/dma/at_hdmac.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 6f352160bc3b..51d0a0c7aaf7 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -137,10 +137,6 @@
#define ATC_FC_MEM2PER 0x1 /* Mem-to-Periph (DMA) */
#define ATC_FC_PER2MEM 0x2 /* Periph-to-Mem (DMA) */
#define ATC_FC_PER2PER 0x3 /* Periph-to-Periph (DMA) */
-#define ATC_FC_PER2MEM_PER 0x4 /* Periph-to-Mem (Peripheral) */
-#define ATC_FC_MEM2PER_PER 0x5 /* Mem-to-Periph (Peripheral) */
-#define ATC_FC_PER2PER_SRCPER 0x6 /* Periph-to-Periph (Src Peripheral) */
-#define ATC_FC_PER2PER_DSTPER 0x7 /* Periph-to-Periph (Dst Peripheral) */
#define ATC_SRC_ADDR_MODE GENMASK(25, 24)
#define ATC_SRC_ADDR_MODE_INCR 0x0 /* Incrementing Mode */
#define ATC_SRC_ADDR_MODE_DECR 0x1 /* Decrementing Mode */
--
2.20.1
Powered by blists - more mailing lists