SUPERH platform development
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid
Date: Tue, 24 May 2011 11:19:35 +0000	[thread overview]
Message-ID: <20110524111935.17651.24907.sendpatchset@t400s> (raw)

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,

                 reply	other threads:[~2011-05-24 11:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110524111935.17651.24907.sendpatchset@t400s \
    --to=magnus.damm@gmail.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox