ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid
Magnus Damm
maintainerPATCH 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.
Signed-off-by Magnus Damm <[email protected]>
---
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 ,