Skip to contentSkip to conversation

dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20

PATCH In review Magnus Damm 1 participant 1 message May 24, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20

From: Magnus Damm <[email protected]>

Update SH_DMAC_MAX_CHANNELS to support the 20 DMA
channels included in the sh73a0 SY-DMAC hardware.

---

 drivers/dma/shdma.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/shdma.h +1 -1
@@ -17,7 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/list.h>
 
-#define SH_DMAC_MAX_CHANNELS 6
+#define SH_DMAC_MAX_CHANNELS 20
 #define SH_DMA_SLAVE_NUMBER 256
 #define SH_DMA_TCR_MAX 0x00FFFFFF	/* 16MB */