From: Simon Horman <horms@verge.net.au>
To: Ben Dooks <ben@trinity.fluff.org>
Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org,
Chris Ball <cjb@laptop.org>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Magnus Damm <magnus.damm@gmail.com>
Subject: Re: [PATCH 4/4] ARM: shmobile: ag5evm, ap4: Make use of irq index enum
Date: Tue, 16 Aug 2011 21:23:30 +0900 [thread overview]
Message-ID: <20110816122330.GA14755@verge.net.au> (raw)
In-Reply-To: <20110816113620.GC3110@verge.net.au>
On Tue, Aug 16, 2011 at 08:36:20PM +0900, Simon Horman wrote:
> On Tue, Aug 16, 2011 at 12:13:50PM +0100, Ben Dooks wrote:
> > On Tue, Aug 16, 2011 at 07:11:26PM +0900, Simon Horman wrote:
> > > This is intended to make it easier to correctly order IRQs.
> > >
> > > As suggested by Guennadi Liakhovetski.
> > >
> > > Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> > > Cc: Magnus Damm <magnus.damm@gmail.com>
> > > Signed-off-by: Simon Horman <horms@verge.net.au>
> > >
> > > ---
> > >
> > > Depends on "mmc: sdhi: Make use of per-source irq handlers"
> > > ---
> > > arch/arm/mach-shmobile/board-ag5evm.c | 12 ++++++------
> > > arch/arm/mach-shmobile/board-mackerel.c | 18 +++++++++---------
> > > 2 files changed, 15 insertions(+), 15 deletions(-)
> > >
> > > diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
> > > index ce5c251..c687f67 100644
> > > --- a/arch/arm/mach-shmobile/board-ag5evm.c
> > > +++ b/arch/arm/mach-shmobile/board-ag5evm.c
> > > @@ -352,15 +352,15 @@ static struct resource sdhi0_resources[] = {
> > > .end = 0xee1000ff,
> > > .flags = IORESOURCE_MEM,
> > > },
> > > - [1] = {
> > > + [1 + SH_MOBILE_SDHI_IRQ_SDCARD] = {
> > > .start = gic_spi(83),
> > > .flags = IORESOURCE_IRQ,
> > > },
> > > - [2] = {
> > > + [1 + SH_MOBILE_SDHI_IRQ_CARD_DETECT] = {
> > > .start = gic_spi(84),
> > > .flags = IORESOURCE_IRQ,
> > > },
> > > - [3] = {
> > > + [1 + SH_MOBILE_SDHI_IRQ_SDIO] = {
> > > .start = gic_spi(85),
> > > .flags = IORESOURCE_IRQ,
> > > },
> >
> > how about naming the irqs?
>
> Sorry, I'm not sure what you are asking for.
Sorry, I've turned my brain back on...
I assume you are asking for #defines to give names to 83, 84 and 85.
While I think that sounds reasonable it would not be in
keeping with the rest contents of the platform files in question.
So I am a little reluctant to open that can of worms.
next prev parent reply other threads:[~2011-08-16 12:23 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-16 10:11 [PATCH 0/4 v3] mmc: tmio, sdhi: provide multiple irq handlers Simon Horman
2011-08-16 10:11 ` [PATCH 1/4] mmc: tmio: Cache interrupt masks Simon Horman
2011-08-16 10:11 ` [PATCH 2/4] mmc: tmio: Provide separate interrupt handlers Simon Horman
2011-08-16 11:14 ` Guennadi Liakhovetski
2011-08-16 11:35 ` Simon Horman
2011-08-16 10:11 ` [PATCH 3/4] mmc: sdhi: Make use of per-source irq handlers Simon Horman
2011-08-16 11:11 ` Guennadi Liakhovetski
2011-08-16 11:51 ` Simon Horman
2011-08-16 12:40 ` Guennadi Liakhovetski
2011-08-16 13:45 ` Simon Horman
2011-08-16 10:11 ` [PATCH 4/4] ARM: shmobile: ag5evm, ap4: Make use of irq index enum Simon Horman
2011-08-16 11:13 ` Ben Dooks
2011-08-16 11:36 ` Simon Horman
2011-08-16 12:23 ` Simon Horman [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-08-17 0:50 [PATCH 0/4 v4] mmc: tmio, sdhi: provide multiple irq handlers Simon Horman
2011-08-17 0:50 ` [PATCH 4/4] ARM: shmobile: ag5evm, ap4: Make use of irq index enum Simon Horman
2011-08-17 10:59 [PATCH 0/4 v5] mmc: tmio, sdhi: provide multiple irq handlers Simon Horman
2011-08-17 10:59 ` [PATCH 4/4] ARM: shmobile: ag5evm, ap4: Make use of irq index enum Simon Horman
2011-08-19 1:10 [PATCH 0/4 v6] mmc: tmio, sdhi: provide multiple irq handlers Simon Horman
2011-08-19 1:10 ` [PATCH 4/4] ARM: shmobile: ag5evm, ap4: Make use of irq index enum Simon Horman
2011-08-19 4:16 ` Magnus Damm
2011-08-19 5:20 ` Simon Horman
2011-08-19 6:39 ` Simon Horman
2011-08-19 6:51 ` Magnus Damm
2011-08-19 7:17 ` Simon Horman
2011-08-19 7:52 ` Guennadi Liakhovetski
2011-08-21 0:03 ` Simon Horman
2011-08-19 7:45 ` Guennadi Liakhovetski
2011-08-19 6:44 ` Magnus Damm
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=20110816122330.GA14755@verge.net.au \
--to=horms@verge.net.au \
--cc=ben@trinity.fluff.org \
--cc=cjb@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
/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