From: Simon Horman <horms@verge.net.au>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org,
Chris Ball <cjb@laptop.org>, Paul Mundt <lethal@linux-sh.org>,
Magnus Damm <magnus.damm@gmail.com>
Subject: Re: [PATCH 3/4 v9] mmc: sdhi: Allow named IRQs to use specific handlers
Date: Fri, 26 Aug 2011 18:13:19 +0900 [thread overview]
Message-ID: <20110826091319.GA5380@verge.net.au> (raw)
In-Reply-To: <Pine.LNX.4.64.1108261022320.25272@axis700.grange>
On Fri, Aug 26, 2011 at 10:42:39AM +0200, Guennadi Liakhovetski wrote:
> From: Simon Horman <horms@verge.net.au>
>
> Allow named IRQs to use corresponding specific handlers. If named IRQs are
> used, at least an "sdcard" IRQ has to be specified by the platform. If
> names are not used, an arbitrary number of IRQs can be provided by the
> platform, in which case the generic ISR will be used for each of them.
>
> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Acked-by: Magnus Damm <magnus.damm@gmail.com>
> Signed-off-by: Simon Horman <horms@verge.net.au>
> [g.liakhovetski@gmx.de: style and typo corrections, platform data check]
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
>
> Simon, this is what I propose to commit. I fixed a typo, wrong multi-line
> comment style and indentation spaces in your patch. Besides, I added a
> check to require the SDCARD IRQ if named IRQs are used. It is a common
> practice to verify platform data availability and at least some basic
> correctness and completeness. This check is trivial and adds extra
> robustness to the driver. Please, have a look, whether you agree with my
> version.
Hi Guennadi,
thanks, this looks fine to me.
I would prefer slightly if SDCARD wasn't required.
But I think that is a discussion that we can have
if/when a use-case arises.
next prev parent reply other threads:[~2011-08-26 9:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 1:27 [PATCH 0/4 v8] mmc: tmio, sdhi: provide multiple irq handlers Simon Horman
2011-08-25 1:27 ` [PATCH v8 1/4] mmc: tmio: Cache interrupt masks Simon Horman
2011-08-25 1:27 ` [PATCH v8 2/4] mmc: tmio: Provide separate interrupt handlers Simon Horman
2011-08-25 1:27 ` [PATCH v8 3/4] mmc: sdhi: Allow name IRQs to use specific handlers Simon Horman
2011-08-26 8:42 ` [PATCH 3/4 v9] mmc: sdhi: Allow named " Guennadi Liakhovetski
2011-08-26 9:13 ` Simon Horman [this message]
2011-08-25 1:27 ` [PATCH v8 4/4] ARM: shmobile: ag5evm, ap4: Named SDHI IRQ sources Simon Horman
2011-08-26 8:44 ` Guennadi Liakhovetski
2011-08-26 9:14 ` Simon Horman
2011-08-26 9:22 ` Guennadi Liakhovetski
2011-08-26 9:48 ` Simon Horman
2011-08-28 17:58 ` [PATCH 0/4 v8] mmc: tmio, sdhi: provide multiple irq handlers Chris Ball
2011-08-30 6:21 ` Simon Horman
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=20110826091319.GA5380@verge.net.au \
--to=horms@verge.net.au \
--cc=cjb@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=lethal@linux-sh.org \
--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