* [PATCH] ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid
@ 2011-05-24 11:19 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2011-05-24 11:19 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
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 <damm@opensource.se>
---
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(+)
--- 0013/arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ work/arch/arm/mach-shmobile/include/mach/sh73a0.h 2011-05-24 20:14:27.000000000 +0900
@@ -465,6 +465,7 @@ enum {
};
/* DMA slave IDs */
enum {
+ SHDMA_SLAVE_INVALID,
SHDMA_SLAVE_SCIF0_TX,
SHDMA_SLAVE_SCIF0_RX,
SHDMA_SLAVE_SCIF1_TX,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-24 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 11:19 [PATCH] ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid Magnus Damm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.