Skip to contentSkip to conversation

ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid

PATCH New Magnus Damm 1 participant 1 message May 24, 2011

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid

From: Magnus Damm <[email protected]>

This makes it possible to leave DMA slave IDs in the platform data at default 0 value without hitting DMA channel allocation error paths.

---

Has a build time dependency on the patch:
"[PATCH] ARM: mach-shmobile: sh73a0 DMA Engine support for SY-DMAC"

Can be merged separately but wants to be used together with:
"[PATCH 3/3] mmc: SDHI: DMA slave ID 0 is invalid"

 arch/arm/mach-shmobile/include/mach/sh73a0.h |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/include/mach/sh73a0.h +1 -0
@@ -465,6 +465,7 @@ enum {
 };
 /* DMA slave IDs */
 enum {
+	SHDMA_SLAVE_INVALID,
 	SHDMA_SLAVE_SCIF0_TX,
 	SHDMA_SLAVE_SCIF0_RX,
 	SHDMA_SLAVE_SCIF1_TX,